• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Cinder V3 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

/v3/{project_id}/volumes/{volume_id}/action

action=' os-reserve'

Changes the status of a volume attached to a VM.

Restrictions

N/A

Extension Description

N/A

Request Parameter

N/A

Response Parameter

N/A

Request Example

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

Response Example

N/A

Error Code

See section Processing Return Code.