Skip to main content
GET
/
identity
/
v1
/
roles
/
{roleId}
/
permissions
Lists all permissions assigned to a role.
curl --request GET \
  --url https://api.sandbox.tesouro.com/identity/v1/roles/{roleId}/permissions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "key": "<string>",
      "name": "<string>",
      "description": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Path Parameters

roleId
string<uuid>
required

The ID of the role.

Response

Returns the list of permissions.

data
object[]
required