Deletes a scenario.
Operation description
Do not call this API operation to manage scenarios. Instead, use the Scenario Management feature in the console. For more information, see .
Try it now
Test
RAM authorization
Request syntax
DELETE /v2/openapi/instances/{instanceId}/scenes/{sceneId} HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
instanceId | string | Yes | The instance ID. | airec-cn-o400whm78004 |
sceneId | string | Yes | The scenario ID. | testid |
Response elements
Element | Type | Description | Example |
object | The details of the result. | ||
| result | object | The details of the result. | |
sceneId | string | The scenario ID. | test |
code | string | The error code. | InternalServerError |
requestId | string | The request ID. | 8F81A922-6C81-46D6-B78C-CC35E16B1691 |
message | string | The error details. | An internal server error occurred |
Examples
Success response
JSON format
{
"result": {
"sceneId": "test"
},
"code": "InternalServerError",
"requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
"message": "An internal server error occurred"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.