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.
Click Try It! to start a request and see the response here!