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

Replace a bucket's access grants.

POST/api/v1/buckets/{bucket_id}/access-grants/replacebuckets:write
注記

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

The body is the full set: each user or group with its rights; a principal left out loses its access. Needs can_add_users.

スコープbuckets:write
非同期いいえ
MCP ツールreplace_bucket_access_grants
Portal の権限manage_bucket_security

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonBucketAccessGrantSetRequestInput

応答​

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

スキーマ​

BucketAccessGrant​

フィールド型必須説明
can_add_usersboolean必須Manage members and access grants.
can_modifyboolean必須Link and unlink documents.
group_idstring または null必須
principal_typestring必須user or group.
user_idstring または null必須

BucketAccessGrantInputInput​

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

BucketAccessGrantSet​

フィールド型必須説明
countinteger必須The size of the set after the replacement. ≥ -2147483648; ≤ 2147483647
itemsBucketAccessGrant の配列必須

BucketAccessGrantSetRequestInput​

フィールド型必須説明
itemsBucketAccessGrantInputInput の配列任意