メインコンテンツまでスキップ

Add a user to a group.

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

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

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).

スコープusers:admin (機密性の高いスコープ)
非同期いいえ
MCP ツールcreate_group_member
Portal の権限manage_user_group_memberships

パラメーター​

名前場所型必須説明
group_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonGroupMemberCreateInput

応答​

ステータス説明本文
201Success.application/json GroupMember または 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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

GroupMember​

フィールド型必須説明
user_idstring必須

GroupMemberCreateInput​

フィールド型必須説明
user_idstring必須