Unsubscribes from a purchased DMS pay-as-you-go service.
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 tenant ID. You can obtain the tenant ID by moving the pointer over the profile picture in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| OrderId |
string |
Yes |
The ID of the order for the purchased pay-as-you-go service. You can call the ListEffectiveOrders operation to obtain the value of this parameter. Only pay-as-you-go order IDs are supported. |
2190037**** |
| InstanceId |
string |
Yes |
The instance ID of the sales order. |
27**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
C51420E3-144A-4A94-B473-8662FCF4AD10 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message. |
UnknownError |
| ErrorCode |
string |
The error code. |
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.