2016-09-17 01:12:40 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
|
|
|
Backup actions (backups, action)
|
|
|
|
================================
|
|
|
|
|
|
|
|
Force-deletes a backup.
|
|
|
|
|
|
|
|
|
|
|
|
Force-delete a backup
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: POST /v3/{project_id}/backups/{backup_id}/action
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Force-deletes a backup. Specify the ``os-force_delete`` action in the request body.
|
|
|
|
|
|
|
|
This operations deletes the backup and any backup data.
|
|
|
|
|
|
|
|
The backup driver returns the ``405`` status code if it does not
|
|
|
|
support this operation.
|
|
|
|
|
|
|
|
Error response codes:404,405,202,
|
|
|
|
|
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- os-force_delete: os-force_delete
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2016-09-17 01:12:40 -04:00
|
|
|
- backup_id: backup_id
|
|
|
|
|
|
|
|
Request Example
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/backup-force-delete-request.json
|
|
|
|
:language: javascript
|