Users
Activate deactivate
Sets a User's membership status on this workspace to ACTIVE or DEACTIVE, which is applied through the billing seat trigger, so it changes what the workspace is billed for. The User account itself is not deleted and keeps its groups and role. Sending the status the User already has is rejected, and the last remaining owner cannot be deactivated.
POST
/api/{tenant:minlength(2)}/v{version:apiVersion}/users/activate_deactivate/{id}
Request arguments
| Name | Type | Source |
|---|---|---|
| id | Int32 | |
| input | DTO_user_activate_deactivate | Body |
Request body example
Response
Response body example
DTO_user_activate_deactivate
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| status | ENUM tenant_user_status | Status |
DTO_acknowledgement
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| message | String | Message |
ENUM tenant_user_status
| Value | Name | Description |
|---|---|---|
| 0 | UNKNOWN | UNKNOWN |
| 1 | ACTIVE | ACTIVE |
| 2 | DEACTIVE | DEACTIVE |
Generated Aug 4, 2026 18:37