Force refresh tokens
<Warning>These endpoints are deprecated and will be removed in the future.</Warning> If you have lost managed user access or refresh token, then you can get new ones by using OAuth credentials. Access token is valid for 60 minutes and refresh token for 1 year. Make sure to store them in your database, for example, in your User database model calAccessToken and calRefreshToken fields. Response also contains accessTokenExpiresAt and refreshTokenExpiresAt fields, but if you decode the jwt token the payload will contain clientId (OAuth client ID), ownerId (user to whom token belongs ID), iat (issued at time) and expiresAt (when does the token expire) fields.
Path parameters
Headers
OAuth client secret key
Response
Example response
{
"status": "success",
"data": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}
}Changes
Changed in 2 of the 50 revisions of this API.4
- ○
api tag
Deprecated: Platform / Managed Usersaddedapi-tag-added
- ○
api tag
Platform / Managed Usersremovedapi-tag-removed
- ○
- ○
api tag
Platform / Managed Usersaddedapi-tag-added
- ○
api tag
Deprecated: Platform / Managed Usersremovedapi-tag-removed
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○