Skip to main content

Give a group a permission set (JSON Merge Patch).

PATCH/api/v1/groups/{group_id}/permission-setpermissions:admin

Gives the group this set in place of whatever it held; the group's members see the change on their next request. Giving the set the group already holds changes nothing. You must currently hold every permission in the set or have Delegate Permissions Beyond Own Access, whether or not you belong to the group.

Scopepermissions:admin (sensitive)
AsynchronousNo
MCP toolupdate_group_permission_set
Portal permissionsassign_group_permission_sets

Parameters​

NameInTypeRequiredDescription
group_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonGroupPermissionSetPatchInput
application/merge-patch+jsonGroupPermissionSetPatchInput

Responses​

StatusDescriptionBody
200Success.application/json GroupPermissionSet or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GroupPermissionSet​

FieldTypeRequiredDescription
group_idstringRequired
permission_set_idstringRequired

GroupPermissionSetPatchInput​

FieldTypeRequiredDescription
group_idstring or nullOptional
permission_set_idstring or nullRequired