API (tenant) tokens

Update client credentials token

This route updates a tenant API token. Send the tenant’s ID in the frontegg-tenant-id header. Optionally, send as POST body params values for description, roles, and permissions for the token.

patch/resources/tenants/api-tokens/v1/{id}

Request

Path parameters

idstring required

Headers

frontegg-tenant-idstring required

The tenant ID identifier

Request body

descriptionstring
roleIdsstring[]

Array of role ids

permissionIdsstring[]

Array of permission ids

Response

clientIdstring required
descriptionstring nullable required
tenantIdstring required
createdByUserIdstring nullable required
metadataobject required

Extra data that will be encoded as part of the JWT

createdAtstring date-time required
permissionIdsstring[]

Array of permission ids

roleIdsstring[]

Array of role ids

expiresstring date-time

Changes

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