Refresh an authorization token
post
/v0/token/refresh
The Data Clearinghouse REST API requires a valid authorization token for each API call. An authorization token is valid for 15 minutes. After 15 minutes you can generate a new token or use this API to refresh the current token.
Request
Header Parameters
-
Authorization(required):
Contains the authorization information of the current token.
-
Referer:
An optional header that holds the address of a request for purposes of logging, analytics, and so on.
There's no request body for this operation.
Security
-
Authorization(required): apiKey
Type:
apiKey
Response
Supported Media Types
- application/json
Default Response
Default response.
Root Schema : TokenResponse
Type:
Show Source
object-
expiration: integer
(int64)
The expiration timecode.
-
token: string
The token string.