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

Replace who may see or change an annotation.

POST/api/v1/annotations/{annotation_id}/access-grants/replaceannotations:write
注記

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

The new list replaces the old one. It must include you or one of your groups, or you would lose access. If-Match compares the annotation's stored columns.

スコープannotations:write
非同期いいえ
MCP ツールreplace_annotation_access_grants
Portal の権限manage_annotation_security

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonAccessGrantSetInputInput

応答​

ステータス説明本文
200Success.application/json AccessGrantSet または 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 のコードです。各コードからそのページに移動できます。

スキーマ​

AccessGrant​

フィールド型必須説明
permissionstring必須read or write.
principalobject または object または object必須

AccessGrantInputInput​

フィールド型必須説明
permissionstring任意read or write; read when absent.
principalobject または object必須

AccessGrantSet​

フィールド型必須説明
itemsAccessGrant の配列必須

AccessGrantSetInputInput​

フィールド型必須説明
itemsAccessGrantInputInput の配列必須