Enrol site
Enrol a site in a proposition.
This is the commitment point — it activates the proposition for the site.
Idempotent: if the site is already enrolled, returns already_enrolled without making changes.
A 200 response always means the site is enrolled; status only distinguishes a new enrolment from an existing one. Any failure returns an HTTP error and leaves the site unenrolled, so fix the cause and call again.
If the site previously withdrew from this proposition (for example via /unenrol), returns 422 with detail.code set to previously_withdrew. Set override_withdrawal to true to re-enrol; this is the recommended default for user-initiated re-enrolment.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
Request model for enrolling a site in a proposition.
Proposition to enrol for
limited_pause, full_asset_schedule_control, price_curve "limited_pause"
Set to true to re-enrol regardless of previous withdrawals. If this is a user-initated action, overriding previous withdrawals is recommended.
false
Optional timezone-aware ISO 8601 timestamp recording when the household gave boundary meter consent. If provided, overwrites any existing meter consent timestamp on the site.
Response
Successfully enrolled or already enrolled
Outcome of an enrolment attempt.

