Enable a user.
POST/api/v1/users/{user_id}/enableusers:admin
Activates a disabled account.
| Scope | users:admin (sensitive) |
| Asynchronous | No |
| MCP tool | enable_user |
| Portal permissions | change_user_status |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json User or object |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | idempotency_in_progress | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
User
| Field | Type | Required | Description |
|---|---|---|---|
department | string or null | Required | The department's name; null when none. |
display_name | string | Required | |
email | string or null | Required | |
email_notification | boolean or null | Required | Null without View Notification Preferences. |
first_active_at | string (date-time) or null | Required | The first sign-in to this organisation; null when the person never signed in, without View User Activity, or when the sign-in service could not be read. |
first_name | string or null | Required | |
is_active | boolean | Required | |
is_external | boolean | Required | |
is_non_billable | boolean or null | Required | True for a Docwize consultant, who is not billed as a user. Null without View Licenses, or when the consultant list could not be read. |
is_verified | boolean or null | Required | True once the person accepted the invitation and verified the sign-in; false while the invitation is pending or the person has no sign-in. Null when the sign-in service could not be read (a warning says so). |
last_active_at | string (date-time) or null | Required | The latest sign-in to this organisation; null under the same conditions as first_active_at. |
organisation_id | string or null | Required | |
surname | string or null | Required | |
user_id | string | Required | |
username | string or null | Required | The username and document-number prefix. |