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

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

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}

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}

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}

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

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}

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}

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}

No content

Last updated

Was this helpful?