PUT
/
agents
/
{agentId}
/
unassign
Unassign Agent from Client
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/agents/{agentId}/unassign \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "clientId": "<string>"
}'
{
  "message": "Agent unassigned from client successfully"
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

agentId
string
required

The ID of the agent to unassign

Body

application/json

Response

OK

The response is of type object.