Update an Access Key
PUT/v1/providers/:provider_id/orgs/:org_id/key
Updates the access key details like user role and bucket access permissions.
Request
Path Parameters
provider_id stringrequired
Provider ID
org_id stringrequired
Organization ID
- application/json
Body
required
Array [
]
user_id stringrequired
ID of the user for whom the access key is being updated
id stringrequired
Access key ID
user_role OrgMembership (string)
Possible values: [Admin
, Member
]
Role assigned to the user in the organization
buckets_roles
object[]
bucket_name stringrequired
Name of the bucket
role stringrequired
Possible values: [ReadOnly
, Editor
, Admin
]
The role assigned to the access key defines the permissions (read, write, admin) for the associated bucket.
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Loading...