Deletes a monitoring session.

Usage notes

Before you call this operation, obtain the monitoring session ID from the response parameter MonitorId of the CreateLiveStreamMonitor operation.

Notice If you call DeleteLiveStreamMonitor to delete a monitoring session that is in the Starting state, a 400 error message is returned, and the operation fails.

QPS limit

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. This may affect your business. We recommend that you take note of the limit when you call this operation. For more information, see QPS limit.

Debugging

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 DeleteLiveStreamMonitor

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

MonitorId String Yes 445409ec-7eaa-461d-8f29-4bec2eb9****

The monitoring session ID.

Note You can obtain the monitoring session ID from the response parameter MonitorId of the CreateLiveStreamMonitor operation.

Response parameters

Parameter Type Example Description
RequestId String 5c6a2a0d-f228-4a64-af62-20e91b9676b3

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DeleteLiveStreamMonitor
&MonitorId=445409ec-7eaa-461d-8f29-4bec2eb9****
&<Common request parameters>

Sample success responses

XML format

<DeleteLiveStreamMonitorResponse>
  <RequestId>5c6a2a0d-f228-4a64-af62-20e91b9676b3</RequestId>
</DeleteLiveStreamMonitorResponse>

JSON format

{"RequestId":"5c6a2a0d-f228-4a64-af62-20e91b9676b3"}

Error codes

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