RemoveSkillGroupsFromUser
Dissociates one or more skill groups from a specified agent in a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| UserId |
string |
Yes |
The agent ID. |
agent@ccc-test |
| SkillGroupIdList |
string |
Yes |
The list of skill group IDs to disassociate. The value is a character string in JSON array format, and each array element is a skill group ID. |
["skillgroup1@ccc-test","skillgroup2@ccc-test"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
None |
| Data |
string |
The data. |
None |
| RequestId |
string |
The request ID. |
EEEE671A-3E24-4A04-81E6-6C4F5B39DF75 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Data": "无",
"RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Maximum | The parameter %s must be less than or equal to %s. | The parameter must be less than or equal to the maximum value defined by the system. |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
| 400 | Parameter.Empty | The parameter %s may not be null or empty. | The parameter cannot be null or an empty string. |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | The specified call center instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.