POST
/
api
/
v2
/
teams
/
{team_id}
/
sites
/
{site_id}
/
attach-charger
curl --request POST \
  --url https://cloud.volttime.com/api/v2/teams/{team_id}/sites/{site_id}/attach-charger \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "identity": "architecto",
  "serial_number": "architecto",
  "pincode": 4326.41688
}'
{}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

team_id
integer
required

The ID of the team.

site_id
integer
required

The ID of the site.

Body

application/json
pincode
number
required
Example:

4326.41688

identity
string

This field is required when <code>serial_number</code> is not present.

Example:

"architecto"

serial_number
string

This field is required when <code>identity</code> is not present.

Example:

"architecto"

Response

200
application/json
Charger attached to the site successfully

The response is of type object.