cURL
curl --request GET \ --url https://api.example.com/v1/rbac/inheritance \ --header 'Authorization: Bearer <token>'
{ "actor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "user", "direct_permissions": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "rec_type_name": "<string>", "actor_name": "<string>", "actor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "permission": [ "C" ] } ], "inherited_from": [ { "role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role_name": "<string>", "permissions": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "rec_type_name": "<string>", "actor_name": "<string>", "actor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "permission": [ "C" ] } ] } ] }
Get permission inheritance tree for a role or user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
user
role
Permission inheritance tree
Show child attributes