# Update client credentials token Update an account (tenant) API token. Endpoint: PATCH /resources/tenants/api-tokens/v1/{id} Security: bearer ## Path parameters: - `id` (string, required) ## Header parameters: - `frontegg-tenant-id` (string, required) The account (tenant) ID identifier ## Request fields (application/json): - `metadata` (object) Extra data that will be encoded as part of the JWT - `description` (string) - `roleIds` (array) Array of role Ids - `permissionIds` (array) Array of permission Ids ## Response 200 fields (application/json): - `clientId` (string, required) - `description` (string,null, required) - `tenantId` (string, required) - `createdByUserId` (string,null, required) - `metadata` (object, required) Extra data that will be encoded as part of the JWT - `createdAt` (string, required) - `permissionIds` (array) Array of permission Ids - `roleIds` (array) Array of role Ids - `expires` (string)