Skip to main content

Update a group (JSON Merge Patch).

PATCH/api/v1/groups/{group_id}users:admin

Renames a group or changes its description, external flag or default flag.

Scopeusers:admin (sensitive)
AsynchronousNo
MCP toolupdate_group
Portal permissionsedit_groups

Parameters​

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

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json Group 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​

Group​

FieldTypeRequiredDescription
descriptionstring or nullRequired
group_idstringRequired
group_namestringRequired
identity_provider_groupstring or nullRequiredThe identity provider's group this one mirrors; null when not bound, or without View Sso Identity Mappings.
is_defaultbooleanRequiredWhether people provisioned by single sign-on are added to the group.
is_externalbooleanRequired

GroupPatchInput​

FieldTypeRequiredDescription
descriptionstring or nullOptional
group_idstring or nullOptional
group_namestring or nullOptional
identity_provider_groupstring or nullOptional
is_defaultboolean or nullOptional
is_externalboolean or nullOptional