Deletes a specified custom scene policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteCustomScenePolicy |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
integer |
Yes |
The ID of the policy to delete. Call the DescribeCustomScenePolicies operation to query policy IDs. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
5CC228B4-7A67-4016-9C9F-4A4133494A91 |
| PolicyId |
integer |
The policy ID. |
1 |
Examples
Success response
JSON format
{
"RequestId": "5CC228B4-7A67-4016-9C9F-4A4133494A91",
"PolicyId": 1
}
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.