Update User Status
Enables or disables a user account. `:id` accepts a UUID, email address, or `externalCustomerId`. If the user has a paired dual-role account, the status change applies to both
Enables or disables a user account. :id accepts a UUID, email address, or externalCustomerId. If the user has a paired dual-role account, the status change applies to both.
PUT
https://example.thoughtindustries.com/incoming/v2/users/:id/updateStatusExample request
curl -X PUT "https://example.thoughtindustries.com/incoming/v2/users/:id/updateStatus" \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"status": "string"
}'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | string | Yes | path | User UUID, email, or externalCustomerId. |
status | string | Yes | body | Required. 'active' or 'disabled'. |
Example response
{
"status": "disabled"
}Response fields
| Field | Type | Description |
|---|---|---|
status | string | 'active' or 'disabled'. |