Cancel assignments
POST https://desk-api-{{APP_ID}}.sendbird.com/platform/v1/agents/{agent_id}/cancel_assignments
Cancel assignments
Cancels assignment of tickets from a specific agent. When the tickets are unassigned from the agent, their status changes to Pending. Then, they are assigned to another available agent within the current or specified team based on the auto ticket routing function.
Note: When a ticket is unassigned from a bot, the handover message is automatically sent to a customer. You can customize your handover message using the Bot API or in Settings > Bots on your dashboard.
For more information, visit:
https://sendbird.com/docs/desk/v1/platform-api/guides/agent#2-cancel-assignments
URL Parameters
Required
agent_id
- Type: int
- Description: Specifies the unique ID of the target agent.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
SENDBIRDDESKAPITOKEN | string |