• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Cinder V2 Interfaces
  5. Volumes
  6. Mark volume as reserved

Mark volume as reserved

Function Description

This interface is used to change the status of a volume attached to a VM.

Interface Format

Method

URI

Description

POST

/v2/{tenant_id}/volumes/{volume_id}/action

action=' os-reserve'

Changes the status of a volume attached to a VM.

Restrictions

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

N/A

Request Example

POST 
https://volume.localdomain.com:8776/v2/fa9acd30b02d4704bbd62cd6fb24fe01/volumes/ff9920a4-8d7a-49a9-9991-e28e355588cf/actionhttps://volume.localdomain.com:8776/v2/fa9acd30b02d4704bbd62cd6fb24fe01/volumes/ff9920a4-8d7a-49a9-9991-e28e355588cf/action
{
" os-reserve ": {
        null
                }
}

Response Example

N/A

Error Code

See section Processing Return Code.