Delete streaming server
1. API Description
This API is used to delete a streaming server.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/stream/remove-stream-server
- V2.5.0 and below: POST [ip]/mwapi/remove-stream-server
| Administrator Rights | Logged-in | 
|---|---|
| No | Yes | 
2. Input Parameters
| Name | Required | Type | Description | 
|---|---|---|---|
| id | Yes | Int | Streaming server ID, which can be obtained via Get streaming server list | 
3. Output Parameters
| Name | Type | Description | 
|---|---|---|
| status | Int | Status code | 
| message | String | Status description | 
4. Example
Deleting the streaming server with ID 1000.
Input Example
{
    "id":1000
}
Output Example
{
    "message": "success",
    "status": 0
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Status | Definition | Description | 
|---|---|---|
| 7 | MW_STATUS_INVALID_ARG | Missing required parameters | 
| 10 | MW_STATUS_FILE_BUSY | Content being streamed cannot be deleted | 
| 16 | MW_STATUS_NOT_EXIST | The server does not exist |