Merge "Add v3 api-ref for force delete snapshot"
This commit is contained in:
commit
7959cd24d5
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"os-force_delete": {}
|
||||||
|
}
|
@ -71,3 +71,36 @@ Request Example
|
|||||||
|
|
||||||
.. literalinclude:: ./samples/snapshot-status-update-request.json
|
.. literalinclude:: ./samples/snapshot-status-update-request.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
|
|
||||||
|
Force delete a snapshot
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. rest_method:: POST /v3/{project_id}/snapshots/{snapshot_id}/action
|
||||||
|
|
||||||
|
Attempts to force delete a snapshot, regardless of state. Specify the
|
||||||
|
``os-force_delete`` action in the request body.
|
||||||
|
|
||||||
|
Response codes
|
||||||
|
--------------
|
||||||
|
|
||||||
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
|
- 202
|
||||||
|
|
||||||
|
|
||||||
|
Request
|
||||||
|
-------
|
||||||
|
|
||||||
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
|
- project_id: project_id_path
|
||||||
|
- snapshot_id: snapshot_id_path
|
||||||
|
- os-force_delete: os-force_delete
|
||||||
|
|
||||||
|
|
||||||
|
Request Example
|
||||||
|
---------------
|
||||||
|
|
||||||
|
.. literalinclude:: ./samples/snapshot-force-delete-request.json
|
||||||
|
:language: javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user