To delete the particular agent group with the given Stream Id and Agent Group Id.
Method | DELETE |
Endpoint | https://{{host}}/agentassist/api/v1/public/{{streamId}}/agent-groups/{{id}} |
Content Type | application/json |
Authorization | auth: {{JWT}} See How to generate the JWT Token. |
API Scope | SmartAssist Analytics |
Path Parameters
Parameter | Description | Type |
---|---|---|
host | Environment URL, for example, https://smartassist.kore.ai | String, Required |
BotId | BotId or StreamId. You can access it from the General Settings page of the bot. | String, Required |
id | The Agent Group id. | String, Required |
Sample Request
curl --location --request DELETE \ 'https://{{host}}/agentassist/api/v1/public/{{streamId}}/agent-groups/{{id}}' --header 'auth: {jwt-code}' \ --header 'accountId: {{accountId}}' --header 'Content-Type: application/json' \
Headers
- accountId (required): The account ID associated with the API request.
- auth (required): JWT token for authentication.
Sample Response
{ "id": "ag-9d1d5db-06b5-43a5-8a7c-87b12d93xxxx", "name": "US West Coast team", "description": "US west coast team handles west side", "managers": [ { "firstName": "Charlie", "lastName": "Harper", "emailId": "username@domain.com", "accessLevel": "full", "skills": [ { "skillId": "s-21223123", "proficiencyLevel": "expert" } ] } ] }