Skip to main content
PUT
Update token config

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

The id of the app the request refers to. An application's unique identifier.

Examples:

"54e9ujn"

"fvua38g"

Body

application/json
access_token_ttl
integer

How long, in seconds, an access token stays valid before it has to be refreshed. Between 60 and 86400.

Required range: 60 <= x <= 86400
Example:

900

refresh_token_ttl
integer

How long, in seconds, a refresh token, and so the session it belongs to, stays valid. Between 300 and 31536000, and never shorter than access_token_ttl.

Required range: 300 <= x <= 31536000
Example:

2592000

Response

OK

access_token_ttl
integer
required

How long, in seconds, an access token stays valid before it has to be refreshed.

Example:

900

refresh_token_ttl
integer
required

How long, in seconds, a refresh token, and so the session it belongs to, stays valid.

Example:

2592000