Groups

Group management operations

List groups

get

Lists groups

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Query parameters
domain_idstringOptional

Filter by domain ID

namestringOptional

Filter by group name

limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Groups listed successfully

application/json
get
/groups
GET /v3/groups HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "groups": [
    {
      "id": "text",
      "name": "text",
      "description": "text",
      "domain_id": "text",
      "domain": {
        "id": "text",
        "name": "text",
        "description": "text",
        "enabled": true,
        "links": {
          "self": "text",
          "previous": "text",
          "next": "text"
        },
        "options": {}
      },
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      }
    }
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

Create group

post

Creates a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
post
/groups
POST /v3/groups HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "group": {
    "name": "text",
    "description": "text",
    "domain_id": "text"
  }
}
{
  "group": {
    "id": "text",
    "name": "text",
    "description": "text",
    "domain_id": "text",
    "domain": {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      },
      "options": {}
    },
    "links": {
      "self": "text",
      "previous": "text",
      "next": "text"
    }
  }
}

Show group details

get

Shows details for a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Group details retrieved successfully

application/json
get
/groups/{group_id}
GET /v3/groups/{group_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "group": {
    "id": "text",
    "name": "text",
    "description": "text",
    "domain_id": "text",
    "domain": {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      },
      "options": {}
    },
    "links": {
      "self": "text",
      "previous": "text",
      "next": "text"
    }
  }
}

Delete group

delete

Deletes a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
delete
/groups/{group_id}
DELETE /v3/groups/{group_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Update group

patch

Updates a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
200

Group updated successfully

application/json
patch
/groups/{group_id}
PATCH /v3/groups/{group_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "group": {
    "name": "text",
    "description": "text",
    "domain_id": "text"
  }
}
{
  "group": {
    "id": "text",
    "name": "text",
    "description": "text",
    "domain_id": "text",
    "domain": {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      },
      "options": {}
    },
    "links": {
      "self": "text",
      "previous": "text",
      "next": "text"
    }
  }
}

List group users

get

Lists users in a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

Query parameters
password_expires_atstringOptional

Filter by password expiration

limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Group users listed successfully

application/json
get
/groups/{group_id}/users
GET /v3/groups/{group_id}/users HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*
{
  "users": [
    {
      "id": "text",
      "name": "text",
      "description": "text",
      "enabled": true,
      "domain_id": "text",
      "domain": {
        "id": "text",
        "name": "text",
        "description": "text",
        "enabled": true,
        "links": {
          "self": "text",
          "previous": "text",
          "next": "text"
        },
        "options": {}
      },
      "default_project_id": "text",
      "email": "text",
      "password_expires_at": "2025-11-28T20:27:01.722Z",
      "options": {},
      "links": {
        "self": "text",
        "previous": "text",
        "next": "text"
      }
    }
  ],
  "links": {
    "self": "text",
    "previous": "text",
    "next": "text"
  }
}

Add user to group

put

Adds a user to a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
put
/groups/{group_id}/users/{user_id}
PUT /v3/groups/{group_id}/users/{user_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Remove user from group

delete

Removes a user from a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
delete
/groups/{group_id}/users/{user_id}
DELETE /v3/groups/{group_id}/users/{user_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Check user group membership

head

Validates that a user belongs to a group

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
group_idstringRequired

The group ID

user_idstringRequired

The user ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
head
/groups/{group_id}/users/{user_id}
HEAD /v3/groups/{group_id}/users/{user_id} HTTP/1.1
Host: identity.example.com
X-Auth-Token: text
Accept: */*

No content

Last updated

Was this helpful?