post
https://hub.xyte.io/core/v1/organization/users//deactivate
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Authorization
This endpoint requires Authorization.
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | string | UUID of the user. | Yes |
Response
Returns the deactivated user with deactivated_at set:
| Key | Type | Description |
|---|---|---|
| id | string | Unique identifier of the user (UUID). |
| name | string | Display name of the user. |
| string | Email address of the user. | |
| group_names | array | Names of the groups the user belonged to. |
| deactivated_at | datetime | Timestamp when the user was deactivated. |
| created_at | datetime | Timestamp when the user was created. |
WarningDeactivation is immediate and cannot be reversed through the API. The user loses portal access instantly and receives an access revocation email.
Errors
| Status | Message | Description |
|---|---|---|
| 404 | User not found | The user does not exist, does not belong to this organization, or is already deactivated. |
