Unsubscribes from a pay-as-you-go Data Management (DMS) resource.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | RefundPayAsYouGoOrder |
The operation that you want to perform. Set the value to RefundPayAsYouGoOrder. |
| Tid | Long | No | 3*** |
The ID of the tenant. Note To view the ID of the tenant, go to the Data Management (DMS) console and move the
pointer over the profile picture in the upper-right corner. For more information,
see View information about the current tenant.
|
| OrderId | String | Yes | 2190037**** |
The ID of the order for the pay-as-you-go resource. You can call the ListEffectiveOrders operation to query the order ID. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | C51420E3-144A-4A94-B473-8662FCF4AD10 |
The ID of the request. |
| Success | Boolean | true |
Indicates whether the request was successful. Valid values:
|
| ErrorMessage | String | UnknownError |
The error message returned if the request failed. |
| ErrorCode | String | UnknownError |
The error code returned if the request failed. |
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=RefundPayAsYouGoOrder
&OrderId=2190037****
&Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<RefundPayAsYouGoOrderResponse>
<RequestId>C51420E3-144A-4A94-B473-8662FCF4AD10</RequestId>
<Success>true</Success>
</RefundPayAsYouGoOrderResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "C51420E3-144A-4A94-B473-8662FCF4AD10",
"Success" : true
}
Error codes
For a list of error codes, see Service error codes.