Skip to main content
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
clientId
string
required

The ID of the client to unassign the agent from

Response

OK

message
string
Example:

"Agent unassigned from client successfully"

I