Replace the full member list of a bucket
PUT/api/v1/buckets/:bucketId/members
Requires owner role on this bucket. Diffs the submitted member list against the current one: new emails become invites (or direct memberships if the user already exists), changed groups update memberships/invites, and omitted members are removed. Always keeps the caller as a member. Subject to the provider's sharing domain/allowlist restrictions.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Membership list updated
Sharing not allowed for the caller's provider (UNKNOWN_USER_PROVIDER)
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Sharing disabled for this provider (SHARING_DISABLED_FOR_PROVIDER)
Bucket not found (BUCKET_NOT_FOUND)