mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
49 lines
1.3 KiB
YAML
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'
|