Disassociates a Smart Access Gateway (SAG) instance from a Quality of Service (QoS) policy.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
QosId | String | Yes | qos-1lcl9gv5ew7x****** |
The instance ID of the QoS policy. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region to which the QoS policy belongs. |
SmartAGId | String | Yes | sag-c3m3n1khz58l****** |
The ID of the SAG instance to be disassociated. |
Action | String | No | DisassociateQos |
The name of this action. Value: DisassociateQos |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | 551CD836-9E46-4F2C-A167-B4363180A647 |
The ID of the request. |
Examples
Request example
http(s)://[Endpoint]/? Action=DisassociateQos
&QosId=qos-1lcl9gv5ew7x******
&RegionId=cn-hangzhou
&SmartAGId=sag-c3m3n1khz58l******
&<CommonParameters>
Response example
XML
format
<DisassociateQosResponse>
<RequestId>551CD836-9E46-4F2C-A167-B4363180A647</RequestId>
</DisassociateQosResponse>
JSON
format
{
"RequestId":"551CD836-9E46-4F2C-A167-B4363180A647"
}
Errors
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | MissParameter.RegionId | You must specify RegionId. | You must specify the RegionId. |
400 | MissParameter.QosId | You must specify QosId. | You must specify the QosId. |
400 | MissParameter.SmartAGId | You must specify SmartAGId. | You must specify the SmartAGId. |
403 | InternalError | An internal server error occurred. | An internal error has occurred. |
400 | InvalidId.Qos | The specified QosId is invalid. | The specified QosId is invalid. |
400 | SmartAGNotAssociateQos | The specified smart access gateway is not associated with the specified QoS. | The specified QoS policy is not associated with any SAG instance. |
403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | The specified SmartAGId is invalid. |
For a list of error codes, visit the API Error Center.