To update the particular skill group with the given Stream Id and Skill Group Id.
| Method | PUT |
| Endpoint | https://{{host}}/agentassist/api/v1/public/{{streamId}}/skill-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 |
Sample Request
curl --location --request POST \
'https://{{host}}/agentassist/api/v1/public/{{streamId}}/skill-groups/{{id}}'
--header 'auth: {jwt-code}' \
--header 'accountId: {{accountId}}'
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Account Management",
"description": "Manage Account and its Settings",
"color": "#f0f0f0"
}'
Headers
- accountId (required): The account ID associated with the API request.
- auth (required): JWT token for authentication.
Body Parameters
| Parameter | Description | Type |
|---|---|---|
| id | Id of the skill Group which you can find with GET /skill-groups. Example:620b814ca2344f1caa8cec99 |
String, Required |
| name | Name of the skill Group. | String, Required |
| description | Brief description of the skill group up to 200 characters. | String, Optional |
| color | Color id of the color you want for skill group up to 200 characters. Example : sg-4372 |
String, Optional |
Sample Response
{
"id": "620b814ca2344f1caa8cxxxx",
"name": "Account Management",
"description": "Manage Account and its Settings",
"color": "#f0f0f0"
}