Users

List Users

get

Return a list of all Users.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

User response object

application/json
get
/api/v1/users

Create User

post

Create a User from the supplied object. Do NOT submit an ID. IDs are auto generated and immutable. Note: This API is rate limited to 50 requests per 300 seconds.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptional
Responses
post
/api/v1/user

Get User

get

Fetches a specific User from the ID supplied in the path.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

String ID of the user to get

Responses
200

User response object

application/json
get
/api/v1/user/{id}

Update User

put

Update a User given the provided object. This does not do a diff. You must send the complete object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the User to be updated

Body
given_namestringRequired

First or Given name of the user

Example: Jerry
family_namestringRequired

Last or Family name of the user

Example: McGuire
emailstringRequired

User's email. This is the main identifier and cannot be changed.

Example: [email protected]
nicknameanyOptional

User's nickname. Optional

Example: Skippy
pictureanyOptional

HTTPS URL to a user's profile picture. Optional

Example: https://www.gfxmag.com/wp-content/uploads/2017/01/racing-car-emoji-vector-icon.png
rolesstring[]Required

An array containing strings which include the role name the user should be assigned to.

Example: ["admin"]
Responses
200

User response object

application/json
put
/api/v1/user/{id}

Delete User

delete

Deletes the User.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the User to be retrieved

Responses
delete
/api/v1/user/{id}

No content

Last updated