Skip to main content
Two admin endpoints manage other accounts: disable or enable an account, and change its email address. Both require the admin role.

Disable or Enable a User

Toggle the disabled status of a user account.

Endpoint

Authentication

Admin role required. Send the session cookie or include Authorization: Bearer <api-key>.

Path Parameters

string
required
Unique identifier of the user to update.

Request Body

boolean
required
Set to true to disable the account, or false to enable it.

Response

A successful update returns 200 OK with no response body.

Update a User’s Email

Change the email address associated with another user account.

Endpoint

Authentication

Admin role required. Send the session cookie or include Authorization: Bearer <api-key>.

Path Parameters

string
required
Unique identifier of the user to update.

Request Body

string
required
New email address to set for the user.

Response

A successful update returns 200 OK with no response body.