Xeonr Developer Docs
API SpecificationBuckets

List bucket permissions

POST
/uplim.api.v1.BucketsService/ListBucketPermissions

Lists all users who have been granted access to a bucket and their permission levels.

Authorization

OAuth2 upl:bucket:manage
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:bucket:manage

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketRef?|

Reference to the bucket

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketsService/ListBucketPermissions" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "permissions": [
    {
      "account": {
        "id": "string",
        "username": "string"
      },
      "permissionLevel": "BUCKET_PERMISSION_LEVEL_UNSPECIFIED"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}