delete
https://api.regal.ai/v1/teams/
API Details
Deletes a team. Without force, nothing is deleted while agents (including soft-deleted ones), queues, routing rule sets or linked entities use the team, and the response lists them. With force=true, the team is removed from its agents, and the Twilio workers of the agents are updated, the links to the linked entities are cleared, and the team is deleted. Queues and routing rule sets are never changed: the ones that use the team are returned in unclearedReferences, and their detection is best effort because their expressions are free text.
Rate Limit
| Limit Type | Value |
|---|---|
| Requests per second | 10 |
If you exceed this limit, you will receive a 429 Rate Limit Exceeded response.
400Invalid team id.
403The user is not a brand admin.

