Unsubscribes from a pay-as-you-go Data Management (DMS) resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:RefundPayAsYouGoOrder |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
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. |
3*** |
| OrderId |
string |
Yes |
The order ID of the order for the pay-as-you-go resource. You can call the ListEffectiveOrders operation to query the order ID. |
2190037**** |
| InstanceId |
string |
Yes |
The instance ID in the sales order. |
27**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
C51420E3-144A-4A94-B473-8662FCF4AD10 |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message that is returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code that is returned if the request failed. |
UnknownError |
Examples
Success response
JSON format
{
"RequestId": "C51420E3-144A-4A94-B473-8662FCF4AD10",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.