Skip to main content
POST
Add Site Auth Token

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

site_id
string<uuid>
required

Body

application/json

Request model for providing an auth token to enable Axle to access assets at a site.

refresh_token
string

Refresh token for acquiring fresh access tokens after they expire; required, except for 'API_KEY'-type submissions

access_token
string

Access token for dispatching and monitoring assets

token_type
string

Type of token (e.g. 'Bearer' or 'API_KEY')

expires_utc
string<date-time>

Time in UTC at which the token expires

expires_in
integer

Time in seconds until the token expires

Response

Token successfully processed