Roles
Create roles
This route adds a new role for all tenants. To add a role for a specific tenant, send tenant ID in the frontegg-tenant-id header. Each role you add requires information about the role in the POST body. Note that you do not assign permissions to the role here. Use the attach permissions to role route to do that.
post/resources/roles/v1
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
frontegg-tenant-idstring
For relating a role to a specific tenant, use get tenants API to find the tenant ids
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.