Activate or Deactivate a User
Activate or Deactivate a User
Flip a user on or off with a single call. No request body is needed.
- If the user is currently on, this call turns them off. Their record is kept for your history, but they can no longer be used for anything new.
- If the user is currently off, this call turns them back on so they can be used again straight away.
The response shows the new state in is_active.
PATCH
Activate or Deactivate a User
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The unique ID of the user you want to flip on or off.
Example:
"b3a9b622-cc63-4d3c-aad6-2d8e29e6f9d4"
Response
Successful Response
Standard response wrapper for single-object responses and errors.
Generic over the payload type. A route that declares
CommonResponse[SomeModel] gets the real data schema rendered in
OpenAPI/Swagger; a bare CommonResponse leaves data untyped.

