Properties

Create a sub-property within a site

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

post/sites/{id}/properties

Request

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

namestring required

Response

The created property model

idstring
namestring
createdAtstring

ISO string

Changes

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