Delete a Queue¶
To delete a specific queue with the given botId and queueId.
| METHOD | DELETE |
|---|---|
| Endpoint | https://{{host}}/agentassist/api/v1/public/{{botId}}/queues/{id} |
| Content Type | application/json |
| Authorization | auth: {{JWT}}See How to generate the JWT Token |
| API Scope | Configuration |
Path Parameters¶
| PARAMETER | DESCRIPTION | TYPE |
|---|---|---|
| host | Environment URL, for example, https://platform.kore.ai | string, required |
| streamId | botId or streamId. You can get it from the App Settings page. | string, required |
| id | Can be taken from the /queues GET API. | string, required |
Sample Request¶
curl --location --request DELETE 'http://{{host}}/agentassist/api/v1/public/{{botId}}/queues' \
--header 'accept: application/json' \
--header 'accountId: 64dc99337ac0b4d3d684exxx' \
--header 'auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLTdlZjBkY2IwLTQ1ZTItNTY3YS1hYzMyLTkwNTA1NzdmMWIyYiJ9.7t145BjU0eZDdlnXYazmqkVT-8WpDIUgCquQM0Uxxxx' \
--header 'Content-Type: application/json' \
--data ''