Sites

Get managers for a site

Returns all users with SiteManager access to the given site.

get/sites/{id}/managers

Request

  • Base URL: https://api.heycharge.com/v1/b2b
  • URL: https://api.heycharge.com/v1/b2b/sites/{id}/managers
  • 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.

Response

An array of manager users

idstring
emailstring email

Email for the user, needs to be unique.

chargersstring[]

A list of charger IDs that the user has access to.

createdAtstring
propertyIdsstring[]

A list of property IDs the user belongs to.

Example response

[
  {
    "email": "tom@heycharge.com"
  }
]

Changes

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