Assign a role
Assign a role to a user in a tenant with the Node.js SDK.
Create a role
Create a role, with optional permissions and extended roles, in a Permit.io environment with the Node.js SDK.
Delete a role
Delete a role by key or ID from a Permit.io environment with the Node.js SDK.
Get assigned roles
List the role assignments of a user in one tenant or across all tenants with the Node.js SDK.
Get a role
Fetch a single role, with its permissions and extended roles, by key or ID with the Node.js SDK.
Unassign a role
Remove a role assignment from a user in a tenant with the Node.js SDK.
Update a role
Update a role's name, description, permissions, or extended roles in a Permit.io environment with the Node.js SDK.