Skip to main content

A Scope is a named collection of permissions that links actions to a Resource. Scopes are granted to Connected Apps by a member. The member must have roles assigned that encompass the requested permissions denoted by the Scope. The wildcard * can be used to denote that all actions on a specific resource are required.
All Scopes are stored in your Project’s RBAC Policy. You can create, manage, and assign Scopes in the RBAC Policies page of the Stytch Dashboard. Check out the RBAC overview to learn more about Stytch’s RBAC permissioning model.
scope
string
required

The unique identifier of the RBAC Scope, provided by the developer and intended to be human-readable.

description
string
required

The description of the RBAC Scope.

permissions
object[]
required

A list of permissions that link a Resource to a list of actions.