# Create account (tenant) access token Create an access token for a specific account (tenant). Endpoint: POST /resources/tenants/access-tokens/v1 Security: bearer ## Header parameters: - `frontegg-tenant-id` (string, required) The account (tenant) ID identifier ## Request fields (application/json): - `description` (string) - `expiresInMinutes` (number) Token expiration time in minutes. In case of undefined, the token won't be expired - `roleIds` (array) Array of role IDs to attach to the token ## Response 201 fields (application/json): - `id` (string, required) - `description` (string) - `createdAt` (string, required) - `secret` (string) - `expires` (string) - `roleIds` (array, required) Array of role Ids - `createdByUserId` (string,null, required)