Users
List the users of the instance
Section titled “List the users of the instance”GET /api/v1/instance/users
- Operation
users.list- Accepts
sessionCookie,sessionToken- Scope
user_admin:read- Rights
users.manage- Effect
- reading
- Rate class
- read
Parameters
limitinteger in query, optional, default50, minimum1, maximum200cursorstring in query, optional, minLength1
Answers
200One page of the listapplication/json: objectitemsarray of AdministeredUser requirednextCursorstring optional
400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Create a user
Section titled “Create a user”POST /api/v1/instance/users
- Operation
users.create- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Request body
application/json: CreateAdministeredUserRequest
Answers
200The resultapplication/json: AdministeredUser400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Change a user’s profile, roles or status
Section titled “Change a user’s profile, roles or status”PATCH /api/v1/instance/users/{userId}
- Operation
users.update- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Parameters
userIdstring in path, required
Request body
application/json: UpdateAdministeredUserRequest
Answers
200The resultapplication/json: AdministeredUser400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Delete a user and their data. Answers 202 when the user is closed and their data is still being removed.
Section titled “Delete a user and their data. Answers 202 when the user is closed and their data is still being removed.”DELETE /api/v1/instance/users/{userId}
- Operation
users.delete- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Parameters
userIdstring in path, required
Answers
200The resultapplication/json: AdministeredUser202The call was accepted and its work finishes by itself. The answer has no body.400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Link a sign-in identity to a user
Section titled “Link a sign-in identity to a user”PUT /api/v1/instance/users/{userId}/identities
- Operation
users.identities.upsert- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Parameters
userIdstring in path, required
Request body
application/json: UpsertAdministeredUserIdentityRequest
Answers
200The resultapplication/json: AdministeredUser400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Unlink a sign-in identity from a user
Section titled “Unlink a sign-in identity from a user”DELETE /api/v1/instance/users/{userId}/identities/{authSource}/{externalUserId}
- Operation
users.identities.delete- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Parameters
userIdstring in path, requiredauthSourcestring in path, requiredexternalUserIdstring in path, required
Answers
200The resultapplication/json: AdministeredUser400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Mail a user a link to set their password
Section titled “Mail a user a link to set their password”POST /api/v1/instance/users/{userId}/invitation
- Operation
users.invitation.send- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Parameters
userIdstring in path, required
Answers
200The resultapplication/json: SendAdministeredUserInvitationResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Set a user’s password
Section titled “Set a user’s password”POST /api/v1/instance/users/{userId}/password
- Operation
users.password.reset- Accepts
sessionCookie,sessionToken- Scope
user_admin:write- Rights
users.manage- Effect
- changing
- Rate class
- write
Parameters
userIdstring in path, required
Request body
application/json: ResetAdministeredUserPasswordRequest
Answers
200The resultapplication/json: ResetAdministeredUserPasswordResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.