Skip to content

AuthsController_refresh

POST
/auths/refresh
curl --request POST \
--url https://example.com/auths/refresh \
--header 'x-tenant-schema: example'
x-tenant-schema
required
string

The tenant of the request.

A new access token for the session of the refresh cookie; a rotation also sets a new cookie.

Media typeapplication/json
object
id
required
string
principalType
required
string
Allowed values: user service
tenant
required
string
email
required
string
department
required
string
nullable
accessToken
required
string
accessTokenExpiresAt
required
number
Example
{
"principalType": "user"
}