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

Let a group use a record template.

PATCH/api/v1/record-templates/{record_template_id}/access-grants/groups/{group_id}permissions:admin
注記

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

Creates the group's grant if it is missing; a grant already there is unchanged. Needs Manage Record Group Access.

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

パラメーター​

名前場所型必須説明
record_template_idpathstring必須
group_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonRecordTemplateGroupAccessGrantPatchInput
application/merge-patch+jsonRecordTemplateGroupAccessGrantPatchInput

応答​

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

エラー​

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

スキーマ​

GrantPrincipal​

フィールド型必須説明
group_idstring または null必須
typestring必須user or group; everyone in the access listing for what is open to all.
user_idstring または null必須

GrantPrincipalPatchInput​

フィールド型必須説明
group_idstring または null任意
typestring または null任意
user_idstring または null任意

RecordTemplateGroupAccessGrant​

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

RecordTemplateGroupAccessGrantPatchInput​

フィールド型必須説明
principalGrantPrincipalPatchInput または null任意