Disables a scenario-specific policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DisableCustomScenePolicy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
integer |
Yes |
The policy ID, which can be obtained by calling the DescribeCustomScenePolicies operation. |
100001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
9732E117-8A37-49FD-A36F-ABBB87556CA7 |
| PolicyId |
integer |
The ID of the disabled policy. |
100001 |
Examples
Success response
JSON format
{
"RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
"PolicyId": 100001
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | PolicyNotExist | The policy does not exist. | The policy does not exist. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.