RemovePhoneNumberFromSkillGroups

Updated at:

You can invoke RemovePhoneNumberFromSkillGroups to delete the binding relationship between a specified phone number and one or more skill groups under a given instance. This operation removes only the association between the phone number and the skill groups, not the actual phone number itself.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

Instance ID.

ccc-test

Number

string

Yes

The phone number to detach.

0101234****

SkillGroupIdList

string

Yes

List of skill group IDs to detach. Ensure that each skill group is already associated with the phone number.

["skillgroup1@ccc-test","skillgroup2@ccc-test"]

Response elements

Element

Type

Description

Example

object

Code

string

Response code.

OK

HttpStatusCode

integer

HTTP status code.

200

Message

string

Response message.

无

RequestId

string

Request ID.

EEEE671A-3E24-4A04-81E6-6C4F5B39DF75

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "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.
400 Parameter.Minimum The parameter %s must be greater than or equal to %s.
400 Parameter.Blank The parameter %s may not be null or blank.
400 Parameter.Empty The parameter %s may not be null or empty.
400 Parameter.Format The format of parameter %s is invalid. %s
400 Parameter.Invalid The parameter %s is invalid. %s.
404 NotExists.InstanceId The specified instance %s does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.