• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Cinder V3 Interfaces
  5. Volumes
  6. Set volume bootable

Set volume bootable

Function Description

This interface is used to configure whether a volume is bootable.

Interface Format

Method

URI

Description

POST

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

action='os-set_bootable'

Configures whether a volume is bootable.

Restrictions

Even if data disks have called this interface to configure the bootable function, such data disks still cannot be used as system disks for ECSs.

Extension Description

N/A

Request Parameter

Parameter

Type

Mandatory

Remarks

bootable

Bool

Yes

Configures whether a volume is bootable.

Response Parameter

N/A

Request Example

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

Response Example

N/A

Error Code

See section Processing Return Code.