NodeRings Docs

Refresh Token

RefreshToken exchanges refresh token for new access token

POST
/v1/oauth2/refresh
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

refreshToken?string
clientId?string
clientSecret?string

Response Body

application/json

curl -X POST "https://api.nrings.io/v1/oauth2/refresh" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "refreshToken": "string",  "clientId": "string",  "clientSecret": "string"}'
{
  "accessToken": "string",
  "tokenType": "string",
  "expiresIn": "string",
  "refreshToken": "string",
  "scope": "string"
}