cinder/api-ref/source/v2/volumes-v2-snapshots-actions.inc
lihaijing 4403ed17ca Api-ref: change 'tenant' to 'project' in v2 doc
Since 'tenant' is the old term, all things should now refer to 'project'.

Change-Id: I3a255df758583a3c4301041c8ebffb90b8263fef
2017-09-27 18:14:25 +08:00

35 lines
716 B
ReStructuredText

.. -*- rst -*-
====================================
Snapshot actions (snapshots, action)
====================================
Administrator only. Resets status for a snapshot.
Reset a snapshot's status
=========================
.. rest_method:: POST /v2/{project_id}/snapshots/{snapshot_id}/action
Resets the status. Specify the ``os-reset_status`` action in the request body.
Normal response codes: 202
Request
-------
.. rest_parameters:: parameters.yaml
- status: status_2
- os-reset_status: os-reset_status
- project_id: project_id_path
- snapshot_id: snapshot_id
Request Example
---------------
.. literalinclude:: ./samples/snapshot-status-reset-request.json
:language: javascript