Default Types
Default volume type management
Get a list of all default volume types (microversion 3.62+)
OpenStack authentication token
OK
The requested resource could not be found
GET /v3/v3/default-types HTTP/1.1
Host: example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
"default_types": [
{
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"volume_type_id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Show the default volume type for a project (microversion 3.62+)
OpenStack authentication token
The UUID of the project
OK
The requested resource could not be found
GET /v3/v3/default-types/{project_id} HTTP/1.1
Host: example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
"default_type": {
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"volume_type_id": "123e4567-e89b-12d3-a456-426614174000"
}
}Create or update the default volume type for a project (microversion 3.62+)
OpenStack authentication token
The UUID of the project
OK
Some content in the request was invalid
The requested resource could not be found
PUT /v3/v3/default-types/{project_id} HTTP/1.1
Host: example.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"default_type": {
"volume_type": "text"
}
}{
"default_type": {
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"volume_type_id": "123e4567-e89b-12d3-a456-426614174000"
}
}Unset the default volume type for a project (microversion 3.62+)
OpenStack authentication token
The UUID of the project
No Content
The requested resource could not be found
DELETE /v3/v3/default-types/{project_id} HTTP/1.1
Host: example.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?
