Skip to main content

Add a user to a group.

POST/api/v1/groups/{group_id}/membersusers:admin

Gives the user the group's permissions, licences and access. You must currently hold every permission the group grants or have Delegate Permissions Beyond Own Access, for every recipient including yourself. You must also hold each licence the group carries. Adding someone already in the group is refused (409 already_exists).

Scopeusers:admin (sensitive)
AsynchronousNo
MCP toolcreate_group_member
Portal permissionsmanage_user_group_memberships

Parameters​

NameInTypeRequiredDescription
group_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonGroupMemberCreateInput

Responses​

StatusDescriptionBody
201Success.application/json GroupMember 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
409already_exists, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_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​

GroupMember​

FieldTypeRequiredDescription
user_idstringRequired

GroupMemberCreateInput​

FieldTypeRequiredDescription
user_idstringRequired