User Management Endpoints
Disable User
Disables a user. Requires the update:user scope.
PUT
Disable User
Overview
Disables the user: marks them disabled, downgrades their roles tomember and blocks sign-in. No request body.
Idempotent: a user who is already disabled returns 200 with "User is already disabled".
Requires the update:user scope.
Response Examples
Disabled (200)
Already Disabled (200)
Response Fields
Status Codes
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization secret for authentication - provided by Parchment
Path Parameters
Organization ID
User ID
Response
User disabled, or already disabled.
Always true
Example:
true
HTTP status code
Example:
200
Outcome summary.
Example:
"User disabled successfully"
Always SUCCESS.
Available options:
SUCCESS Example:
"SUCCESS"
ISO 8601 timestamp of the response
Example:
"2024-01-15T10:30:00.000Z"
Unique identifier for request tracing
Example:
"req_1705312200000_abc123"

