POST
/
entities
/
site
/
{site_id}
/
token
curl --request POST \
  --url https://api-sandbox.axle.energy/entities/site/{site_id}/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "refresh_token": "<string>",
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_utc": "2023-11-07T05:31:56Z",
  "expires_in": 123
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

site_id
string
required

Body

application/json

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

Response

200
application/json

Token successfully processed

The response is of type any.