Sites

Create a new site

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

post/sites

Request

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

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

namestring required

Response

The created site model

idstring
namestring

Changes

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