Delete GFX
1. API Description
This API is used to delete a GFX.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/gfx/delete-gfx
- V2.5.0 and below: POST [ip]/mwapi/delete-osd
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
osdId | Yes | Int | GFX ID, which can be obtained via Get GFX list |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
message | String | Status description |
4. Example
Delete the GFX with ID ID 100.
Input Example
{
"osdId": 100,
}
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 |
11 | MW_STATUS_DEVICE_BUSY | The operation is forbidden. The resource is in preview |
39 | MW_STATUS_MISMATCH | The BGM does not exist |