accessmanagement - resource groups

Adds multiple user groups to a specific resource group.

This endpoint adds multiple user groups to a specific resource group, streamlining the assignment of access permissions.</br></br>Key features include:</br></br>- Bulk addition support: Enables the addition of multiple user groups in a single request, simplifying and streamlining bulk management processes.</br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns 400 and 404 error codes with clear descriptions when requests fail.</br>- Targeted data addition: Leverages the resourceGroupId parameter in the URL path to add new user groups to the specified resource group, ensuring accurate and focused modifications for effective domain management.

post/accessmanagement/resourcegroups/{resourceGroupId}/usergroups/bulk/add

Request

Path parameters

resourceGroupIdinteger required

Filters data by the resource group’s unique identifier.

Request body

Example request

[
  {
    "userGroup": {
      "id": 9
    },
    "roles": [
      {
        "id": 11
      }
    ]
  }
]

Response

User groups added successfully.

idinteger
namestring
descriptionstring
canDeleteboolean
canRenameboolean
isDefaultboolean
resourceCountinteger
userGroupCountinteger

Example response

{
  "id": 21,
  "name": "Default",
  "description": "Resource group description.",
  "canDelete": true,
  "canRename": true,
  "isDefault": true,
  "resourceCount": 21,
  "userGroupCount": 10,
  "userGroupSummary": [
    {
      "id": 128,
      "name": "Default user group",
      "roles": [
        {
          "id": 3,
          "name": "Admin",
          "description": "Administrator role with full permissions",
          "roleType": "System Role",
          "userCount": 1,
          "modifiedTs": "2025-09-01T15:37:56.338909+02:00",
          "createdTs": "2025-09-01T15:37:56.338859+02:00"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.