Merge "Add v3 api-ref for deleting extra spec for a volume type"

This commit is contained in:
Jenkins 2017-10-10 19:58:49 +00:00 committed by Gerrit Code Review
commit 10298b6f8a
2 changed files with 27 additions and 0 deletions

View File

@ -107,6 +107,12 @@ key_3:
in: path
required: true
type: string
key_4:
description: |
The key name for the extra spec that you want to remove.
in: path
required: true
type: string
message_id:
description: |
The UUID of the message.

View File

@ -111,6 +111,27 @@ Response Example
:language: javascript
Delete extra spec for volume type
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: DELETE /v3/{project_id}/types/{volume_type_id}/extra_specs/{key}
Deletes the specific extra spec that assigned to a volume type.
Normal response codes: 202
Request
-------
.. rest_parameters:: parameters.yaml
- project_id: project_id_path
- volume_type_id: volume_type_id
- key: key_4
Show volume type detail
~~~~~~~~~~~~~~~~~~~~~~~