Skip to main content
POST
/
access-token
/
{id}
/
refresh
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/access-token/{id}/refresh \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expiredTime": "<string>"
}
'
{
  "id": "<string>",
  "expiredTime": "<string>",
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
expiredTime
string
required

Response

201 - application/json

Returns access token.

id
string
required
expiredTime
string
required
token
string
required
Last modified on December 10, 2025