Update a Webhook Subscription
Updates an existing webhook subscription. Only fields supplied in the request body are modified; omitted fields retain their current values.
To rotate the signing secret, supply "rotate-secret": true. A new
signing-secret is returned in the response. The old secret remains
valid for 15 minutes to allow in-flight deliveries to complete.
Documentation Index
Fetch the complete documentation index at: https://docs.auth.energy/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT from GET /auth/token. Pass as Authorization: Bearer <token>. Expires after 7200s.
Path Parameters
Unique identifier for a webhook subscription.
^wid_[0-9a-f]{24}$"wid_a1b2c3d4e5f6a1b2c3d4e5f6"
Body
Partial update payload for an existing webhook subscription. All fields are optional; only supplied fields are modified.
"https://app.bright-energy.com/webhooks/dar-v2"
"ops-team@bright-energy.com"
1 <= x <= 9014
1The event type delivered to the webhook callback URL.
consent.expiring— a consent-based access record is within the configurednotify-days-beforewindow of its expiry date.tenancy.change— a Change of Tenancy has been recorded against an MPxN that has one or moreACTIVEaccess records registered under this Data User.consent.withdrawal— a customer has withdrawn consent via the centralised Customer Consent Portal. The access record has already transitioned toREVOKEDstate before this event is fired. Data Users must update their own systems immediately on receipt.
consent.expiring, tenancy.change, consent.withdrawal Set to true to rotate the HMAC signing secret. A new signing-secret is returned in the response. The previous secret remains valid for 15 minutes to allow in-flight deliveries to drain.

