Deletes a monitoring session.
Operation description
Obtain the MonitorId from the response of the CreateLiveStreamMonitor operation. Then, call this operation to delete the monitoring session.
You cannot delete a monitoring session that is running. Attempting to do so returns a 400 error.
QPS limits
This operation is limited to 10 queries per second (QPS) per account. Calls that exceed this limit are throttled, which can affect your business. To avoid interruptions to your business, make sure that you do not exceed this limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DeleteLiveStreamMonitor |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region. |
cn-shanghai |
| MonitorId |
string |
Yes |
The ID of the monitoring session. Note
The MonitorId is returned in the response of the CreateLiveStreamMonitor operation. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5c6a2a0d-f228-4a64-af62-20e91b9676b3 |
Examples
Success response
JSON format
{
"RequestId": "5c6a2a0d-f228-4a64-af62-20e91b9676b3"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidUserId.Malformed | %s, please check userId. | The userId passed in is invalid, please check. |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | There are invalid parameters: %s. |
| 400 | MissingParameter | %s. | Missing parameter |
| 400 | InvalidMonitorId.Malformed | %s, please check and try again later. | The parameter MonitorId is invalid, please check and try again. |
| 401 | IllegalOperation | %s, please check and try again later. | Operation not allowed, please check and try again. |
| 500 | InternalError | %s, please try again later. | Internal error, please try again later. |
| 404 | StreamMonitorNotExist | %s, please check and try again later. | The monitoring room does not exist, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.