All Products
Search
Document Center

:DeleteScene

Last Updated:Mar 01, 2024

Deletes a scene.

Operation description

We recommend that you do not call an API operation to manage scenes. We recommend that you go to the Scenario Building page in the Artificial Intelligence Recommendation (AIRec) console to manage scenes.

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

DELETE /v2/openapi/instances/{instanceId}/scenes/{sceneId}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

DELETE openapi/instances/{instanceId}/scenes/{sceneId}

airec-cn-o400whm78004
sceneIdstringYes
testid

Response parameters

ParameterTypeDescriptionExample
object
resultobject

The instance ID.

sceneIdstring

The scene ID.

test
codestring

The returned result.

InternalServerError
requestIdstring

The scene ID.

8F81A922-6C81-46D6-B78C-CC35E16B1691
messagestring

The error code.

An internal server error occurred

Examples

Sample success responses

JSONformat

{
  "result": {
    "sceneId": "test"
  },
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history