Skip to main content

GroupsApi

MethodHTTP requestDescription
create_group_using_postPOST /api/web/v1/groupsCreate a group
delete_group_using_deleteDELETE /api/web/v1/groups/{id}Remove a group
group_by_external_id_using_postPOST /api/web/v1/groups/externalidGet a group by externalId
group_using_getGET /api/web/v1/groups/{id}Get a group
groups_paged_using_postPOST /api/web/v1/groupspagedList a page of groups
groups_using_getGET /api/web/v1/groupsList groups
modify_user_authorization_group_associations_using_putPUT /api/web/v1/userauthorizationgroup/{userid}/groupsModify user group membership
update_group_using_putPUT /api/web/v1/groups/{id}Update a group

create_group_using_post

Group create_group_using_post(group_parms)

Create a group

Create a group with the specified name. Caller requires the GROUPS:ADD permission.

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
group_parmsGroupParms

Return type

Group

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

delete_group_using_delete

delete_group_using_delete(id)

Remove a group

Remove the specified group. Caller requires the GROUPS:REMOVE permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the group to be removed.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

group_by_external_id_using_post

Group group_by_external_id_using_post(group_id)

Get a group by externalId

Get the specified group by externalId. Caller requires the GROUPS:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
group_idGroupId

Return type

Group

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

group_using_get

Group group_using_get(id)

Get a group

Get the specified group. Caller requires the GROUPS:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the group to fetch.

Return type

Group

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

groups_paged_using_post

GroupsPage groups_paged_using_post(search_parms)

List a page of groups

Returns groups for the provided search parameters. Caller requires the GROUPS:VIEW permission. The following searchByAttributes are supported:

  • name: a string value that indicates the name of the group. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
  • type: a string with the value that indicates the type of the group. Allowed operator: EQUALS.

If you provide more than one search attribute, they are joined with an AND condition.

The orderByAttribute supports this attribute name: name.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
search_parmsSearchParms

Return type

GroupsPage

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

groups_using_get

List[Group] groups_using_get()

List groups

List all groups. Caller requires the GROUPS:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

This endpoint does not need any parameter.

Return type

List[Group]

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

modify_user_authorization_group_associations_using_put

modify_user_authorization_group_associations_using_put(userid, request_body)

Modify user group membership

Modify the list of groups assigned to a specified user. Caller requires the USERS:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
useridstrThe UUID of the user whose group membership is to be modified.
request_bodyList[str]

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

update_group_using_put

Group update_group_using_put(id, group_parms)

Update a group

Update the specified group. Caller requires the GROUPS:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the group to update.
group_parmsGroupParms

Return type

Group

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-