API (tenant) tokens

Create tenant access token

post/resources/tenants/access-tokens/v1

Request

Headers

frontegg-tenant-idstring required

The tenant ID identifier

Request body

descriptionstring
expiresInMinutesnumber

Token expiration time in minutes. In case of undefined, the token won't be expired

roleIdsstring[]

Array of role IDs to attach to the token

Response

idstring required
descriptionstring
createdAtstring date-time required
secretstring
expiresstring date-time
roleIdsstring[] required

Array of role ids

createdByUserIdstring nullable required

Changes

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