Removes an agent from the workspace. Removes client permissions from all agent campaigns, chats, and prospects. Agency plan required.
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | The workspace ID |
agentId | string | Yes | The agent ID to unassign |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.