Delete Backup
Take a backup of a device by a given serial number, you can also add an optional parameter to specify a specific tag, if you wish to specify this tag you will need to include the information inside the square brackets.
Syntax: see Call Structure
Type = 'DELETE'
'http://localhost:43430/api/v1/backups/id/backup[?tag=tag]' |
Parameter | Description |
---|---|
id | This is a unique identifier returned from Get Devices |
tag | This is an optional tag specified by the user for the backup |
Returns:
{ "result": { "id": "id", "code": 0, "message": "Success" } } |
Parameter | Description |
---|---|
id | This is a unique identifier returned from Get Devices |
Example
curl -X 'DELETE' \
'http://localhost:43430/api/v1/backups/000008120-000E28E91A22201E/delete-backup?tag=rt' \
-H 'accept: application/json'
Returns
{
"id": "00008120-000E28E91A22201E",
"code": 0,
"message": "Success"
}
Errors
If there is an error in the API method then a JSON-RPC Error Object will be returned