RemoveAgentFromSkillGroup
Removes agent accounts from a skill group by specifying the skill group ID and agent IDs.
Operation description
To obtain the agent and skill group information, refer to the instructions in the Request parameters section.
You can call the ListAgentBySkillGroupId operation to query the agents in the skill group and verify whether the removal meets your expectations.
If an agent is removed by mistake, you can call the UpdateAgent operation to update the agent data and reassign the skill group to the agent.
QPS limits
Rate limit per user: 50 calls per second.
Rate limit per API: 100 calls per second.
If the total number of calls from multiple users exceeds the API rate limit, throttling is triggered.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The AICCS instance ID. You can obtain the ID from the Instances page in the left-side navigation pane of the Artificial Intelligence Cloud Call Service console. |
ccc_xp_pre-cn-78v1gnp97002 |
| SkillGroupId |
integer |
Yes |
The skill group ID. You can call the QuerySkillGroups operation and view the SkillGroupId parameter in the response to obtain the skill group ID. |
1146**** |
| AgentIds |
array |
Yes |
The list of agent IDs. |
|
|
integer |
Yes |
The agent ID. You can call the GetAgent operation and view the AgentId parameter in the response to obtain the agent ID. |
["6083****","6084****"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EE338D98-9BD3-4413-B165 |
| Message |
string |
The description of the status code. |
OK |
| Data |
object |
The returned data. |
|
| SuccessCount |
integer |
The number of agents that are successfully removed. |
2 |
| Code |
string |
The status code. A value of Success indicates that the request is successful. |
Success |
| Success |
boolean |
Indicates whether the API operation is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "EE338D98-9BD3-4413-B165",
"Message": "OK",
"Data": {
"SuccessCount": 2
},
"Code": "Success",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.