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
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
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
204

Group deleted successfully

No content

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
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
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
204

User added to group successfully

No content

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
204

User removed from group successfully

No content

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
204

User is a member of the group

No content

head
/groups/{group_id}/users/{user_id}

No content

Last updated

Was this helpful?