DisableScene
Updated at:
You can call this operation to disable a specific scene interaction rule.
Request syntax
POST /2020-04-30/scenes/Scene/disable HTTP/1.1
Cookie: CookieImportant
2020-04-30 is the version number of the edge OpenAPI. This value cannot be changed.Request parameters
| Parameter | Type | Required | Description |
| Scene | String | Yes | The ID of the interaction rule. Call the ListScenes operation to obtain the interaction rule ID. |
| Cookie | String | Yes | The authentication cookie. Call the CreateAuthCookie operation to create the cookie. |
Response syntax
HTTP/1.1 StatusCode
Content-Type: application/jsonResponse parameters
| Parameter Name | Type | Description |
| StatusCode | Number | The HTTP status code. A value of 200 indicates that the request is successful. Other values indicate that the request failed. For more information, see Status codes. |
Complete example
$ curl -i -b token.cookie -k -X POST https://127.0.0.1:9999/2020-04-30/scenes/d14122632aaf4d1d8e325963****9528/disable
HTTP/1.1 200 OK
Server: openresty/1.13.6.2
Date: Thu, 16 Apr 2020 01:51:08 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-aliveIs this page helpful?