Skip to main content
Remove Dispositions from Group
curl --request DELETE \
  --url https://api.agents.timepay.ai/api/v1/dispositions/groups/{id}/dispositions \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dispositions": [
    {}
  ]
}
'
{
  "success": true,
  "message": "Dispositions removed from group successfully"
}

Overview

Remove one or more dispositions from an existing disposition group. This allows you to selectively remove dispositions without affecting the rest of the group.
Removing a disposition from a group does not delete the disposition itself. The disposition remains available and can be used in other groups.

Headers

Authorization
string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Path Parameters

id
string
required
The unique identifier of the disposition group

Request Body

dispositions
array
required
Array of disposition IDs to remove from the group

Response

success
boolean
Indicates if the request was successful
message
string
Response message
{
  "success": true,
  "message": "Dispositions removed from group successfully"
}

Error Codes

StatusDescription
400Empty array or invalid request
401Unauthorized - Invalid or missing API key
403Forbidden - Missing required permissions
404Disposition group not found
500Internal server error