Modifies the name of 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-xhwhyuo43l********

The instance ID of the QoS policy to be modified.

QosName String Yes doctest

The name of the QoS policy.

RegionId String Yes cn-hangzhou

The ID of the region to which the QoS policy belongs.

Action String No ModifyQos

The name of this action.

Value: ModifyQos

Response parameters

Parameter Type Example value Description
RequestId String EE837E9F-BD50-4C2B-9E47-260F9D848480

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=ModifyQos
&QosId=qos-xhwhyuo43l********
&QosName=doctest
&RegionId=cn-hangzhou
&<CommonParameters>

Response example

XML format

<ModifyQosResponse>
	  <RequestId>F77B3F0E-CAA2-41CF-A752-4F2893C5F7F0</RequestId>
    </ModifyQosResponse>

JSON format

{
	"RequestId":"F77B3F0E-CAA2-41CF-A752-4F2893C5F7F0"
}

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.Name You must specify Name. You must specify the Name.
400 InvalidParameter.Name The specified Name is invalid. The specified Name is invalid.
400 InvalidId.Qos The specified QosId is invalid. The specified QosId is invalid.
403 InternalError An internal server error occurred. An internal error occurred.

For a list of error codes, visit the API Error Center.