Skip to main content
Version: 2.0.0

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);