Files
n8n-docs/docs/api/openapi-yaml/spec/paths/Users.yml
2022-05-05 11:50:04 +01:00

49 lines
1.3 KiB
YAML

post:
x-eov-operation-id: createUsers
x-eov-operation-handler: v1/handlers/users
tags:
- User
summary: Invite a user
description: Invites a user to your instance. Only available for the instance owner.
operationId: createUser
requestBody:
description: Created user object.
content:
application/json:
schema:
type: array
items:
$ref: '../schemas/UserInformation.yml'
required: true
responses:
'200':
description: A User object
content:
application/json:
schema:
type: array
items:
$ref: '../schemas/UserInformation.yml'
'401':
$ref: '../responses/Unauthorized.yml'
get:
x-eov-operation-id: getUsers
x-eov-operation-handler: v1/handlers/users
tags:
- User
summary: Retrieve all users
description: Retrieve all users from your instance. Only available for the instance owner.
parameters:
- $ref: '../parameters/Limit.yml'
- $ref: '../parameters/Cursor.yml'
- $ref: '../parameters/IncludeRole.yml'
responses:
'200':
description: Operation successful.
content:
application/json:
schema:
$ref: '../schemas/UserDetailsResponse.yml'
'401':
$ref: '../responses/Unauthorized.yml'