rename-source
Use the interface to rename the source.
Request Mode
POST http://ip/mwapi/rename-source
Parameter | Description |
---|---|
id | The source ID |
name | The new name |
{
"id":2039,
"name":"New Source Name"
}
Response Body
JSON structure is as follows:
{
"message": "success",
"status": 0
}
1. Response Status
"status": 0
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |