Disables a Support Account.
Operation description
Disables the execution of SQL statements through OpenAPI for a specified Hologres instance. After this feature is disabled, all ExecuteStatement calls return an error. You can call the EnableExecuteStatement operation to re-enable this feature.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/instances/{instanceId}/supportAccount/disable HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The instance ID. |
hgpostcn-cn-7mz2vmu30003 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A |
| Data |
string |
The result of the operation, returned as a string. Valid values are |
true |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
string |
The error code. |
null |
| ErrorMessage |
string |
The error message. |
null |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\n",
"Data": "true",
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.