| Retool API (Enterprise Premium) Availability | |||
|---|---|---|---|
| Cloud | Generally Available | ||
| Self-hosted Edge 3.33 or later | Generally Available | ||
| Self-hosted Stable 3.33 or later | Generally Available | ||
Get role grants for a subject
GET/role_permissions/role_grants/:subjectType/:subjectId
Available from API version 2.9.0+. Returns a list of role grants for a subject. The API token must have the "Permissions > Read" scope.
Request
Responses
- 200
- 401
- 403
- 404
List of role grants
Authentication failure
Forbidden: API token is missing scope
Subject with id {subjectId} not found.