DELETE
/api/admin/users/{uid}/disableAdminRe-enable a user
Clears the disabled flag set by POST /api/admin/users/{uid}/disable. Sessions revoked by the disable stay revoked: the user has to log in again.
operationId
delete_api_admin_users_uid_disableAdministrationAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Platform administrators only
Path parameters
| Name | Type | Description |
|---|---|---|
| uid* | string (uuid) | uid of the target user |
Responses
application/json
ResourceCreationResponse
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string | |
| resource_id* | string | Identifier of the created / affected resource |
JSONExample
"success"true
"message""string"
"resource_id""string"
Example request
bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/admin/users/<uid>/disable' \
-b 'refresh_token_<auth_server_app_id>=<value>'