[api-ref] Fix http method for updating encryption type

This patch aims to fix http method in api-ref for updating encryption
type, changing from 'POST' to 'PUT'.

Change-Id: Ief48c73eb09afe2b5ff8c391f06013ab7eebd670
This commit is contained in:
jeremy.zhang 2017-11-21 23:37:51 +08:00 committed by Jeremy Zhang
parent 280e59c5b6
commit f02aa85d75
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@ Response Example
Update an encryption type for v2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v2/{project_id}/types/{volume_type_id}/encryption/{encryption_id}
.. rest_method:: PUT /v2/{project_id}/types/{volume_type_id}/encryption/{encryption_id}
Update an encryption type.

View File

@ -532,7 +532,7 @@ Response Example
Update an encryption type
~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v3/{project_id}/types/{volume_type_id}/encryption/{encryption_id}
.. rest_method:: PUT /v3/{project_id}/types/{volume_type_id}/encryption/{encryption_id}
Update an encryption type.