Cloud Administration Global Groups API
3 days ago

Cloud Administration Global Groups API

Use the Cloud Administration Global Groups API to perform create, read, update, and delete operations for global groups, as well as to manage global group user memberships. This API supports creating and managing user groups within the cloud. Global groups support users from multiple identity sources, regardless of their identity source type within the same group.

For more information about managing access to this API, see Accessing the Cloud Administration APIs.

 

Authentication

Clients calling this API must authenticate themselves by including a JSON Web Token in a request. For more information about using this token, see Authentication for the Cloud Administration APIs.

 

Software Developer Kit

You can download the API Software Developer Kit (SDK) from Cloud Administration REST API Download.

Note:   This API is accessible only via OAuth and does not support the legacy JWT flow. For more information, see Manage OAuth API Clients.

 

This topic describes how to:

 

Note:   To access these endpoints, an administrator needs the appropriate OAuth scope permissions. For more information, see OAuth 2.0-Based Permissions for the Cloud Administration APIs.

 

Create Global Group

The following information describes how to create a global group with the provided name and description.

Prerequisite: An administrator needs the rsa.group.manage OAuth permission to use this endpoint.

Request Requirements

Use the following information to create a global group with the provided name and description.

MethodRequest URLResponse Content TypeResponse Body
POST

 

/AdminInterface/restapi/v1/localGroups

application/json Global group object containing metadata about the group.

 

Request Body Parameters

The following table describes the request body parameters.

Request ParameterDescriptionRequiredData Type
nameDesired name of the global groupYesString
descriptionDescription of the global group No String

 

Example Request Body

The following is an example request body.

{
"name": "Sales Department Group"
"description": "This group contains all employees in the sales department"
}

Response Body Parameters

The following table describes the response body parameters.

ParameterDescriptionData Type
idUnique identifier that represents the global group. UUID
nameName of the global group.String
descriptionDescription of the global group.String
readOnly Flag that indicates that this group is created and managed internally in the system. Boolean
createdAt Date that the global group has been created.Timestamp
updatedAtDate that the global group has been updated.Timestamp

 

Example Response Body

The following is an example response body.

{
"id": "f6b0b45e-a0d6-2864-7ee5-71a9806977cc",
"name": "Sales Department Group",
"description": "This group contains all employees in the sales department",
"readOnly": false,
"createdAt": "2024-12-29T05:20:00.120Z",
"updatedAt": "2024-12-31T07:51:00.978Z"
}

Response Codes

The following table lists the response codes and their descriptions for this API.

HTTP Status CodeDescription
200Global group created successfully.
400Operation not performed because of client syntax errors.
403Not authorized to perform the request.
429Too many requests.
500Internal error occurred when processing the request.

 

Retrieve Global Group

The following information describes how to find a global group by the provided id.

Prerequisite: An administrator needs the rsa.group.read OAuth permission to use this endpoint.

 

Request Requirements

Use the following information to find a global group by the provided id.

MethodRequest URLResponse Content TypeResponse Body
GET/AdminInterface/restapi/v1/localGroups/{id} application/json Global group object containing metadata about the group with the provided id.

 

Response Body Parameters

The following table describes the response body parameters.

ParameterDescriptionData Type
idUnique identifier that represents the global group. UUID
nameName of the global group.String
descriptionDescription of the global group.String
readOnly Flag that indicates that this group is created and managed internally in the system. Boolean
createdAt Date that the global group has been created.Timestamp
updatedAtDate that the global group has been updated.Timestamp

 

Example Response Body

The following is an example response body.

{
"id": "f6b0b45e-a0d6-2864-7ee5-71a9806977cc",
"name": "Sales Department Group",
"description": "This group contains all employees in the sales department",
"readOnly": false,
"createdAt": "2024-12-29T05:20:00.120Z",
"updatedAt": "2024-12-31T07:51:00.978Z"
}

 

Response Codes

The following table lists the response codes and their descriptions for this API.

HTTP Status CodeDescription
200Global group retrieved successfully.
400Operation not performed because of client syntax errors.
403Not authorized to perform the request.
429Too many requests.
500Internal error occurred when processing the request.

 

Update Global Group

The following information describes how to update a global group with the provided name and description.

Prerequisite: An administrator needs the rsa.group.manage OAuth permission to use this endpoint.

 

Request Requirements

Use the following information to update a global group with the provided name and description.

MethodRequest URLResponse Content TypeResponse Body
PATCH/AdminInterface/restapi/v1/localGroups/{id} application/json Global group object containing metadata about the updated group.

 

Request Body Parameters

The following table describes the request body parameters.

Request ParameterDescriptionRequiredData Type
nameDesired name of the global groupYesString
descriptionDescription of the global group No String

 

Example Request Body

The following is an example request body.

{
"name": "Sales Department Group"
"description": "This group contains all employees in the sales department"
}

 

Response Body Parameters

The following table describes the response body parameters.

ParameterDescriptionData Type
idUnique identifier that represents the global group. UUID
nameName of the global group.String
descriptionDescription of the global group.String
readOnly Flag that indicates that this group is created and managed internally in the system. Boolean
createdAt Date that the global group has been created.Timestamp
updatedAtDate that the global group has been updated.Timestamp

 

Example Response Body

The following is an example response body.

{
"id": "f6b0b45e-a0d6-2864-7ee5-71a9806977cc",
"name": "Sales Department Group",
"description": "This group contains all employees in the sales department",
"readOnly": false,
"createdAt": "2024-12-29T05:20:00.120Z",
"updatedAt": "2024-12-31T07:51:00.978Z"
}

 

Response Codes

The following table lists the response codes and their descriptions for this API.

HTTP Status CodeDescription
200Global group updated successfully.
400Operation not performed because of client syntax errors.
403Not authorized to perform the request.
429Too many requests.
500Internal error occurred when processing the request.

 

List Global Groups

The following information describes how to return a paginated list of global groups based on the specified page number and page size.

Prerequisite: An administrator needs the rsa.group.read OAuth permission to use this endpoint.

 

Request Requirements

Use the following information to return a paginated list of global groups based on the specified page number and page size.

MethodRequest URLResponse Content TypeResponse Body
GET/AdminInterface/restapi/v1/localGroups application/json

List of global group objects containing metadata about the existing groups, along with pagination metadata.

 

Resource Identifiers

The following table shows the resource identifiers required in the request URL to retrieve a paginated list of global groups.

Resource IdentifierRequiredDescriptionTypeDefault Value Example Value
<pageSize> NoSpecifies the maximum number of matching results to return. Valid values are 1 to 10, inclusive.Integer 510
<pageNumber> NoZero-based index of the page to return. Integer05

 

Response Body Parameters

The following table describes the response body parameters.

ParameterDescriptionData Type
totalPagesTotal number of group pages returned by the query. Integer
totalGroupsTotal number of groups returned by the query.Integer
groupsList containing the groups returned by the query.List
idUnique identifier that represents the global group. UUID
nameName of the global group.String
descriptionDescription of the global group.String
readOnly Flag that indicates that this group is created and managed internally in the system. Boolean
createdAt Date that the global group has been created.Timestamp
updatedAtDate that the global group has been updated.Timestamp

 

Example Response Body

The following is an example response body.

{
"groups": [
{
"id": "7dd8bf57-b615-30fb-889a-bd08491a6461",
"name": "Group 1",
"description": "Group 1 description",
"readOnly": false,
"createdAt": "2024-12-30T10:18:10.587Z",
"updatedAt": "2024-12-30T10:48:13.168Z"
},
{
"id": "29f31ef0-6ea0-28a9-2afe-9b5afe79858d",
"name": "Group 2",
"description": "Group 2 description",
"readOnly": false,
"createdAt": "2024-12-30T08:56:37.622Z",
"updatedAt": "2024-12-30T08:56:37.622Z"
},
{
"id": "7788e4f3-2122-6a82-d09d-2a54abfe2ccf",
"name": "Group 3",
"description": "Group 3 description",
"readOnly": false,
"createdAt": "2024-12-26T13:47:10.282Z",
"updatedAt": "2024-12-26T13:47:10.282Z"
},
{
"id": "38ed8d0e-b905-026c-730c-639710e13b33",
"name": "Group 4",
"description": "Group 4 description",
"readOnly": false,
"createdAt": "2024-12-03T18:39:36.303Z",
"updatedAt": "2024-12-26T13:24:56.310Z"
},
{
"id": "a5d7b376-0eef-c934-7120-cf205dffae33",
"name": "Group 5",
"description": "Group 5 description",
"readOnly": false,
"createdAt": "2024-12-03T15:40:25.225Z",
"updatedAt": "2024-12-17T20:31:54.875Z"
}
],
"totalGroups": 9,
"totalPages": 2
}

 

Response Codes

The following table lists the response codes and their descriptions for this API.

HTTP Status CodeDescription
200Global group list retrieved successfully.
400Operation not performed because of client syntax errors.
403Not authorized to perform the request.
429Too many requests.
500Internal error occurred when processing the request.

 

Delete Global Group

The following information describes how to delete a global group with the provided id.

Prerequisite: An administrator needs the rsa.group.manage OAuth permission to use this endpoint.

 

Request Requirements

Use the following information to delete a global group with the provided id.

MethodRequest URLResponse Content TypeResponse Body
DELETE/AdminInterface/restapi/v1/localGroups/{id} application/json Global group object containing id of deleted group.

 

Response Body Parameters

The following table describes the response body parameters.

ParameterDescriptionData Type
idUnique identifier that represents the global group. UUID

 

Example Response Body

The following is an example response body.

{
"id": "f6b0b45e-a0d6-2864-7ee5-71a9806977cc"
}

 

Response Codes

The following table lists the response codes and their descriptions for this API.

HTTP Status CodeDescription
200Global group deleted successfully.
400Operation not performed because of client syntax errors.
403Not authorized to perform the request.
429Too many requests.
500Internal error occurred when processing the request.

 

For more information about managing global group users, see Manage Global Group Users with the Cloud Administration Global Groups API .