Sites
Chargers

Update the chargers belonging to a provided site

Requires one of the following roles: ResellerAdmin, DomainManager, SiteManager, Installer.

patch/sites/{id}/chargers

Request

  • Base URL: https://api.heycharge.com/v1/b2b
  • URL: https://api.heycharge.com/v1/b2b/sites/{id}/chargers
  • Auth: HTTP bearer

Path parameters

idstring required

Site ID

Headers

b2bidstring

BackofficeAdmin only. Specifies the target B2B ID when acting on behalf of a B2B. For regular users this header is ignored — the B2B from the JWT is always used.

Request body

chargersToAddstring[]

Charger IDs to add to the site.

chargersToRemovestring[]

Charger IDs to remove from the site.

Response

A succesful update.

Changes

No recorded changes to this operation across all 1 revision of this API.