Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Group Types

Group type management

List group types

get

Lists all group types

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Query parameters
is_publicbooleanOptional

Filter by public visibility

sortstringOptional

Comma-separated list of sort keys and optional sort directions

sort_keystringOptional

Sorts by an attribute

sort_dirstring · enumOptional

Sorts by direction (asc or desc)

Possible values:
limitinteger · min: 1Optional

Requests a page size of items

offsetintegerOptional

Used in conjunction with limit to return items starting from the offset position

markerstringOptional

The ID of the last-seen item

Responses
200

OK

application/json
get/v3/group_types
GET /cinder/v3/group_types HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
200

OK

{
  "group_types": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "is_public": true,
      "group_specs": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    }
  ]
}

Create group type

post

Creates a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Body
Responses
200

OK

application/json
post/v3/group_types
POST /cinder/v3/group_types HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 117

{
  "group_type": {
    "name": "text",
    "description": "text",
    "is_public": true,
    "group_specs": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  }
}
200

OK

{
  "group_type": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "is_public": true,
    "group_specs": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  }
}

Show default group type

get

Shows details for the default group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Responses
200

OK

application/json
get/v3/group_types/default
GET /cinder/v3/group_types/default HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
200

OK

{
  "group_type": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "is_public": true,
    "group_specs": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  }
}

Show group type details

get

Shows details for a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

Responses
200

OK

application/json
get/v3/group_types/{group_type_id}
GET /cinder/v3/group_types/{group_type_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
200

OK

{
  "group_type": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "is_public": true,
    "group_specs": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  }
}

Update group type

put

Updates a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

Body
Responses
200

OK

application/json
put/v3/group_types/{group_type_id}
PUT /cinder/v3/group_types/{group_type_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "group_type": {
    "name": "text",
    "description": "text",
    "is_public": true
  }
}
200

OK

{
  "group_type": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "is_public": true,
    "group_specs": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    }
  }
}

Delete group type

delete

Deletes a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

Responses
202

Request is accepted, but processing may take some time

No content

delete/v3/group_types/{group_type_id}
DELETE /cinder/v3/group_types/{group_type_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
202

Request is accepted, but processing may take some time

No content

Show group type specs

get

Shows all group specs assigned to a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

Responses
200

OK

application/json
get/v3/group_types/{group_type_id}/group_specs
GET /cinder/v3/group_types/{group_type_id}/group_specs HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
200

OK

{
  "group_specs": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}

Create or update group type specs

post

Adds new group specs to a group type, or updates existing ones

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

Body
Responses
200

OK

application/json
post/v3/group_types/{group_type_id}/group_specs
POST /cinder/v3/group_types/{group_type_id}/group_specs HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 50

{
  "group_specs": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}
200

OK

{
  "group_specs": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}

Show group type spec

get

Shows the specific group spec assigned to a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

keystringRequired

The key name of the group spec

Responses
200

OK

application/json
objectOptional
get/v3/group_types/{group_type_id}/group_specs/{key}
GET /cinder/v3/group_types/{group_type_id}/group_specs/{key} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
200

OK

{}

Update group type spec

put

Update the specific group spec assigned to a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

keystringRequired

The key name of the group spec

Body
objectOptional
Responses
200

OK

application/json
objectOptional
put/v3/group_types/{group_type_id}/group_specs/{key}
PUT /cinder/v3/group_types/{group_type_id}/group_specs/{key} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200

OK

{}

Delete group type spec

delete

Deletes the specific group spec assigned to a group type

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
group_type_idstring · uuidRequired

The UUID of the group type

keystringRequired

The key name of the group spec

Responses
202

Request is accepted, but processing may take some time

No content

delete/v3/group_types/{group_type_id}/group_specs/{key}
DELETE /cinder/v3/group_types/{group_type_id}/group_specs/{key} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
202

Request is accepted, but processing may take some time

No content

Last updated

Was this helpful?