All Products
Search
Document Center

OpenSearch:ChangeResourceGroup

Last Updated:Jul 16, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /openapi/ha3/instances/{instanceId}/actions/change-resource-group

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringNo

The instance ID.

ha-cn-pl32rf0****
bodyobjectNo

The request body.

newResourceGroupIdstringNo

new resource group id

rg-acfmxr3gs*****
resourceTypestringNo

The resource type.

instance

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

Id of the request

10D5E615-69F7-5F49-B850-00169ADE513C

Examples

Sample success responses

JSONformat

{
  "requestId": "10D5E615-69F7-5F49-B850-00169ADE513C"
}

Error codes

For a list of error codes, visit the Service error codes.