Delete album files

1. API Description

This API is used to delete album files.

Request mode:

  • V2.6.0 and above: POST [ip]/mwapi/V2.0/album/remove-album-file
  • V2.5.0 and below: POST [ip]/mwapi/remove-album-file
Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
ids Yes String The file ID, separated by commas
Example: 1 or 1,2,3

3. Output Parameters

Name Type Description
status Int Status code
message String Status description

4. Example

Deleting the files with IDs 10 and 12.

Input Example
{
    "ids":"10,12"
}
Output Example
{
    "status": 0,
    "message": "success"

}

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 operated content is uploading for backup
39 MW_STATUS_MISMATCH The operated content is missing

results matching ""

    No results matching ""