Skip to main content

GroupsApi

MethodHTTP requestDescription
createGroupUsingPOSTPOST /api/web/v1/groupsCreate a group
deleteGroupUsingDELETEDELETE /api/web/v1/groups/{id}Remove a group
groupByExternalIdUsingPOSTPOST /api/web/v1/groups/externalidGet a group by externalId
groupUsingGETGET /api/web/v1/groups/{id}Get a group
groupsPagedUsingPOSTPOST /api/web/v1/groupspagedList a page of groups
groupsUsingGETGET /api/web/v1/groupsList groups
modifyUserAuthorizationGroupAssociationsUsingPUTPUT /api/web/v1/userauthorizationgroup/{userid}/groupsModify user group membership
updateGroupUsingPUTPUT /api/web/v1/groups/{id}Update a group

createGroupUsingPOST

Group createGroupUsingPOST(groupParms)

Create a group

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

Parameters

NameTypeDescriptionNotes
groupParmsGroupParms

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-

deleteGroupUsingDELETE

deleteGroupUsingDELETE(id)

Remove a group

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the group to be removed.

Return type

null (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-

groupByExternalIdUsingPOST

Group groupByExternalIdUsingPOST(groupId)

Get a group by externalId

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

Example

Parameters

NameTypeDescriptionNotes
groupIdGroupId

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-

groupUsingGET

Group groupUsingGET(id)

Get a group

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe 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-

groupsPagedUsingPOST

GroupsPage groupsPagedUsingPOST(searchParms)

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

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

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-

groupsUsingGET

List<Group> groupsUsingGET()

List groups

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

Example

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-

modifyUserAuthorizationGroupAssociationsUsingPUT

modifyUserAuthorizationGroupAssociationsUsingPUT(userid, requestBody)

Modify user group membership

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

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user whose group membership is to be modified.
requestBodyList<String>

Return type

null (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-

updateGroupUsingPUT

Group updateGroupUsingPUT(id, groupParms)

Update a group

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the group to update.
groupParmsGroupParms

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-