Disassociates an IP camera from an intelligent alert event-triggered recording plan.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteEventRecordPlanDevice

The operation that you want to perform. Set the value to DeleteEventRecordPlanDevice.

IotInstanceId String No iot-cn-n6w1y59****

The ID of the instance. You can view the instance ID on the Overview page in the IoT Platform console.

  • If your instance has an ID, you must configure this parameter. If you do not set this parameter, the call fails.
  • If your instance has no Overview page or ID, you do not need to set this parameter.

For more information, see Overview.

ProductKey String No a1BwAGV****

The ProductKey of the product to which the IP camera belongs.

You can view the information about all products within the current account on the Products page of the IoT Platform console or by calling the QueryProductList operation.

Notice If you specify this parameter, you must also specify the DeviceName parameter.
DeviceName String No camera1

The DeviceName of the IP camera.

You can view the DeviceName of the IP camera on the Devices page of the IoT Platform console.

Notice If you specify this parameter, you must also specify the ProductKey parameter.
IotId String No zLZyi6aOLyOSHa9hsPyD00****

The ID of the IP camera. IoT Platform allocates an ID to each IP camera to uniquely identify the IP camera.

You can call the QueryDeviceDetail operation of IoT Platform to query the ID of the IP camera.

StreamType Integer No 0

The type of the stream. Valid values:

  • 0: major stream. This is the default value.
  • 1: minor stream.

In addition to the preceding operation-specific request parameters, you must specify common request parameters when you call this operation. For more information, see Common request parameters.

Response parameters

Parameter Type Example Description
Code String 200

The response code.

  • 200: The call was successful.
  • Other codes: The call failed. For more information about error codes, see Error codes.
ErrorMessage String tenant auth error

The error message returned if the call failed.

RequestId String 06DC77A0-4622-42DB-9EE0-25FIOHS82JK1

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

  • true: The call was successful.
  • false: The call failed.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "06DC77A0-4622-42DB-9EE0-25FIOHS82JK1",
    "Code": "200",
    "Success": true

Error codes

For a list of error codes, visit the API Error Center.