Creates an access group.
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.
The group name must not match the name of a portal role, such as Writer, or the name of an existing access group, in any letter case.
If the request specifies projects, publications, or users that do not exist, it fails with 404 and the response lists all of them. If they exist but do not match the group type, it fails with 400.
The group name. Must not contain commas or semicolons. Must not match the name of a portal role, such as Writer, or the name of an existing access group, in any letter case. Spaces at the start and end of the name are removed.
Projects and publications the group members can access. If omitted, the group gives no access to any of them.
The group type. Can't be changed after the group is created. Letter case is ignored.
- PowerReader
- Reviewer
The logins of the group members. If omitted, the group is created without members.
Only Power Readers can be members of a Power Reader Access Group, and only Reviewers of a Reviewer Access Group.
{
"name": "partners",
"projectAccess": {
"projectIds": [
"user-guide-v5",
"api-reference"
],
"type": "Selected"
},
"type": "PowerReader",
"userCount": 2
}