Applications

Update application tokens

Configure tokens for an application.

<div> <code>update:application_tokens</code> </div>
patch/api/v1/applications/{application_id}/tokens

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/applications/{application_id}/tokens
  • Auth: HTTP bearer

Path parameters

application_idstring required
Example:20bbffaa4c5e492a962273039d4ae18b

The identifier/client ID for the application.

Request body

access_token_lifetimeinteger

The lifetime of an access token in seconds.

refresh_token_lifetimeinteger

The lifetime of a refresh token in seconds.

id_token_lifetimeinteger

The lifetime of an ID token in seconds.

authenticated_session_lifetimeinteger

The lifetime of an authenticated session in seconds.

is_hasura_mapping_enabledboolean

Enable or disable Hasura mapping.

Example request

{
  "access_token_lifetime": 3600,
  "refresh_token_lifetime": 86400,
  "id_token_lifetime": 3600,
  "authenticated_session_lifetime": 86400,
  "is_hasura_mapping_enabled": true
}

Response

Application tokens successfully updated.

messagestring
codestring

Example response

{
  "message": "Success",
  "code": "OK"
}

Changes