Update access group

Update access group

Changes a group's name, project access, or members. Only the fields listed in updatedFields are changed.

Requires the Change Contributor permissions permission for Reviewer Access Groups or the Change Power Reader permissions permission for Power Reader Access Groups. To check which roles have them, see Roles and Permissions Matrix.

projectAccess and userNames replace the current values entirely. An empty userNames list removes all members. To add or remove individual members, use POST or DELETE /access-groups/{groupName}/users.

Renaming a group to a name that differs only in letter case has no effect.

Path Parameters
  • groupName
    string
    required

    The name of the access group. Letter case is ignored.

    Percent-encode the name. Encode slashes (/) and backslashes (\) twice, as %252F and %255C. Requests with %2F or %5C do not reach the API.

    When a group is created, the Location header already contains the encoded group name. Use the value as is.

Body
application/json
name
string
max:
256

The new group name. Must not contain commas or semicolons. Must not match the name of any portal role, including built-in ones such as Writer, in any letter case. Spaces at the start and end of the name are removed.

projectAccess
object

Projects and publications the group members can access. Replaces the current value entirely.

updatedFields
string
required

A comma-separated list of the fields to change: name, projectAccess, userNames.

Each field you list must also be present in the request body. Fields you don't list are not changed, even if they are present in the body.

If the list is empty, nothing is changed and the response body is empty.

userNames
array string[]

The new group members. The list replaces the current members entirely, so an empty list removes all of them.

Only Power Readers can be members of a Power Reader Access Group, and only Reviewers of a Reviewer Access Group.

Responses
PATCH/access-groups/{groupName}

{
  "name": "partners",
  "projectAccess": {
    "projectIds": [
      "user-guide-v5",
      "api-reference"
    ],
    "type": "Selected"
  },
  "type": "PowerReader",
  "userCount": 2
}