RBAC
Get RBAC Policy
Get the active RBAC Policy for your current Stytch Project.
GET
C#
An RBAC Policy is the canonical document that stores all defined Resources and Roles within your RBAC permissioning model.
When using the backend SDKs, the RBAC Policy will be cached to allow for local evaluations, eliminating the need for an extra request to Stytch. The policy will be refreshed if an authorization check is requested and the RBAC policy was last updated more than 5 minutes ago.
Resources and Roles can be created and managed within the RBAC page in the Dashboard. Additionally, Role assignment can be programmatically managed through certain Stytch API endpoints.
Check out the RBAC overview to learn more about Stytch’s RBAC permissioning model.
Authorizations
Response
Successful response
The RBAC Policy document that contains all defined Roles and Resources – which are managed in the Dashboard. Read more about these entities and how they work in our RBAC overview.