Skip to main content
POST
Grant bucket permission

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Path Parameters

bucket_id
string
required

Bucket ID

Body

application/json

Grant permission request

expires_at
string

optional RFC3339 or empty

permission
string

"read", "write", or "admin"

principal_id
string
principal_type
string

"user", "group", or "role"

Response

OK

created_at
string
expires_at
string
granted_by
string
id
string
permission
string
principal_id
string
principal_type
string