Deleting a Skill Queue (deleteSkill)
Scenario
Delete a skill queue.
Method
POST
URI
https://Domain name/apiaccess/rest/cc-management/v1/skill/deleteSkill. For example, the domain name is service.besclouds.com.
Request Description
No. |
Parameter |
Type |
Mandatory or Not |
Description |
---|---|---|---|---|
1 |
X-APP-KEY |
String |
No |
App key field, which is the user ID. Contact the operation personnel to obtain the app key. |
2 |
Authorization |
String |
Yes |
Authentication information. The format is Bearer +AccessToken returned by the tokenByAKSK interface. (A space is required next to Bearer.) |
No. |
Parameter |
Type |
Mandatory or Not |
Description |
---|---|---|---|---|
1.1 |
skillIds |
String |
Yes |
Skill queue ID. Multiple IDs are separated by commas (,), semicolons (;), or hyphens (-). A maximum of 10 skill queue IDs are supported. |
Response Description
- Status code: 200
Table 3 Response body parameters No.
Parameter
Type
Mandatory or Not
Description
1.1
returnCode
String
No
Operation result. The options are as follows: 0: success; other values: failure.
1.2
description
String
No
Description.
- Status code: 401
Authentication fails.
- Status code: 404
The requested resource does not exist.
- Status code: 500
An exception occurs on the server.
Error Codes
None
Example
Request header:
Content-Type:application/json X-APP-KEY:XXXXXXXXXXXXXXXXXXXXXXX Authorization:Bearer XXXXXXXXXXXXXXXXXXXXXXX
Request parameters:
{"skillIds":"3,4"}
Response parameters:
{ "returnCode": "0", "description": "Success" }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot