Roles

Get roles

This route returns all roles for all tenants. To get a role for a specific tenant, send the tenant ID in the frontegg-tenant-id header. Each role is an object containing the name, permissions, and other defining information.

get/resources/roles/v1

Request

Headers

frontegg-tenant-idstring

For relating a role to a specific tenant, use get tenants API to find the tenant ids

Response

idstring required
vendorIdstring required
tenantIdstring required
keystring required
namestring required
descriptionstring required
isDefaultboolean required
firstUserRoleboolean required
levelnumber required
createdAtstring date-time required
updatedAtstring date-time required
permissionsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.