Skip to content
From 0.5.0 the packages continue as @cqrs-ddd, documented at aristoteliss.github.io/ddd-cqrs; NestJS applications add @cqrs-ddd/nestjs. This site documents the 0.4.x line.

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"
}