List all Access Keys
POST/v1/providers/:provider_id/orgs/:org_id/keys
Lists all the access keys for a user in the organization account.
Request
Path Parameters
Provider ID
Organization ID
- application/json
Body
required
ID of the user for whom the access keys are being listed
Role assigned to the user in the organization
Possible values: [Admin
, Member
]
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
-
ReadOnly
: Read-only access to the bucket. -
Editor
: Read and write access to the bucket. -
Admin
: Full access to all the buckets in org, including management of permissions. Since, this access key manages all the buckets, the value ofbucket_name
field should always be*
.Example:
{ "bucket_name": "*", "role": "Admin" }
]
]
keys
object[]
required
Access key ID
Name of the access key
Status of the access key.
Possible values: [Active
, Inactive
]
buckets_roles
object[]
Name of the bucket
The role assigned to the access key defines the permissions (read, write, admin) for the associated bucket.
Possible values: [ReadOnly
, Editor
, Admin
]
{
"keys": [
{
"id": "string",
"name": "string",
"status": "Active",
"buckets_roles": [
{
"bucket_name": "string",
"role": "ReadOnly"
}
]
}
]
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}