POST
/
teams
/
{team_id}
/
sites
curl --request POST \
  --url https://cloud.volttime.com/api/v2/teams/{team_id}/sites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "identity": "<string>",
  "name": "<string>",
  "street": "<string>",
  "house_number": "<string>",
  "house_number_addition": "<string>",
  "postal_code": "<string>",
  "city": "<string>",
  "country": "<string>",
  "phase": {},
  "main_fuse_amperage": 123,
  "net_type": {},
  "load_management": {}
}'

Request

team_id
integer
required

The id of the team

Response

data
Site

The newly created site