Skip to main content

getRole

Get a single tenant role, if such role exists.

Parameters​

roleId - The id of the role. This can also be the role key.

Implementation​

const roles = await permit.api.getRole(roleId);