Users

Refresh access token

Changed on

Reads the refresh_token from an HTTP-only cookie and issues a new JWT access token if the refresh token is still valid.

post/users/refresh-token

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/users/refresh-token
  • Auth
    none declared

Cookies

refresh_tokenstring required

JWT refresh token set during login

Response

New access token issued

messagestring

Example response

{
  "message": "OK"
}

Changes

    • info

      api operation id refreshAccessToken was added

    • info

      api tag Users added

    • info

      api tag Authentication removed

    • info

      api operation id refreshAccessToken removed and replaced with

    • info

      api tag Authentication added

    • info

      api tag Users removed