Renews an application. This API operation is unavailable. To renew an application, use the OpenSearch console.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:UpdateApp |
*AppGroup
|
None | None |
Request syntax
POST /v4/openapi/app-groups/{appGroupIdentity}/actions/renew HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application. |
my_app |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. |
74db41d8cd3c784209093aa76afbe89e |
| body | PrepayOrderInfo |
No |
The renewal request body. |
Optional parameters
| Parameter | Type | Description |
| duration | Integer | The renewal duration. The default value is 1. Valid values: - 1 to 2 (unit: year) - 1 to 9 (unit: month) |
| pricingCycle | String | The unit of the renewal duration. Valid values: - Year - Month |
| autoRenew | boolean | Specifies whether to enable auto-renewal. The default value is false. Valid values: - false - true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
{} |
|
| requestId |
string |
The request ID. |
D77D0DAF-790D-F5F5-A9C0-133738165014 |
| result |
boolean |
Indicates whether the application was renewed. |
true |
Examples
Success response
JSON format
{
"requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
"result": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.