Update Client Status
Sets a client's status to active or disabled
Sets a client's status to active or disabled.
PUT
https://example.thoughtindustries.com/incoming/v2/clients/:id/updateStatusExample request
curl -X PUT "https://example.thoughtindustries.com/incoming/v2/clients/:id/updateStatus" \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"status": "string"
}'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | uuid | Yes | path | Client UUID. |
status | string | No | body | Required. 'active' or 'disabled'. A value of 'disabled' disables the client; any other value enables it. |
Example response
{
"id": "3f9a2b18-7c4d-4e2a-9b1f-0c5d6e7f8a90",
"status": "disabled"
}Response fields
| Field | Type | Description |
|---|---|---|
id | uuid | Client ID. |
status | string | 'active' or 'disabled'. |