Sign in

Update hub

documented

Update hub details.

PUT /hubs/{hub_id}Hubsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://onfleet.com/api/v2/hubs/{{$hub_id}}" \
  -X PUT \
  -u "{{ONFLEET_API_KEY}}:" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "location": [{{$longitude}}, {{$latitude}}], "address": {"number": "{{$number}}","street": "{{$street}}","city": "{{$city}}","state": "{{$state}}","postalCode": "{{$postalCode}}","country": "{{$country}}","apartment": "{{$apartment}}"},"teams": ["{{$team_id}}"]}'
Update hub · Onfleet · OpenIntegrations