post https://{domain}.frontegg.com/identity/resources/tenants/api-tokens/v2
This route creates a tenant API token. Send the tenant’s ID in the frontegg-tenant-id
header. Optionally, send as POST body params values for metadata, description, roles, and permissions for the token.
You can get roles & permissions via API