Skip to content

refresh-token

Request

refresh AccessToken

Path
tenant_tagstringrequired

Tenant Tag

Bodyapplication/jsonrequired

RefreshToken request params

refresh_tokenstringrequired
usernamestringrequired

Username same as the "username" field inside JWT token

curl -i -X POST \
  'https://insly-ledger.redocly.app/api/v1/identifier/token/refresh/{tenant_tag}' \
  -H 'Content-Type: application/json' \
  -d '{
    "refresh_token": "string",
    "username": "string"
  }'

Responses

OK

Bodyapplication/json
authentication_resultobject(contract.AuthenticationResultType)
challenge_namestring
challenge_parametersobject(contract.ChallengeResultParameters)
dataobject
Response
{ "authentication_result": { "access_token": "string", "expires_in": 0, "id_token": "string", "refresh_token": "string", "token_type": "string" }, "challenge_name": "string", "challenge_parameters": { "qr_code": "string", "required_attributes": [ … ], "secret_code": "string", "user_attributes": { … }, "user_id_for_srp": "string" }, "data": { "property1": "string", "property2": "string" } }