Skip to main content
GET
/
user
/
tokens
/
{tokenId}
/
permissions
List token permissions
curl --request GET \
  --url https://api.datalinks.com/api/v1/user/tokens/{tokenId}/permissions \
  --header 'Authorization: Bearer <token>'
{
  "restricted": true,
  "permissions": [
    {
      "username": "<string>",
      "namespace": "<string>",
      "dataset": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

tokenId
string
required

Token ID

Response

Returns the permissions assigned to the token.

restricted
boolean
required
permissions
object[]