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

Give a user or group access to a bucket.

POST/api/v1/buckets/{bucket_id}/membersbuckets:write
注記

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

Gives one user or group access with no rights (set the rights with the access-grant replacement). Needs can_add_users on the bucket.

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

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonBucketMemberCreateInput

応答​

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

スキーマ​

BucketMember​

フィールド型必須説明
can_add_usersboolean必須
can_modifyboolean必須
display_namestring必須The user's name, or the group's name.
group_idstring または null必須
principal_typestring必須user or group.
user_idstring または null必須

BucketMemberCreateInput​

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