Toggle Company Webhook Data Alert

Enable or disable data alerts (webhook.data_alert) on an existing company webhook without resending the webhook URL or token. The company must already have a webhook configured; otherwise 409 Conflict is returned.

Enabling data alerts switches the webhook from the summary hudsonrock:alert event to per-machine hudsonrock:data events; the two modes don't run together. See Set Company Webhook for the full payload and delivery reference.

If the authenticated user belongs to an organization with synced_data: true, only the user with organization.role: "owner" can call this endpoint. Other members receive 403 Forbidden.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Enable or disable data alerts (webhook.data_alert) on an existing company webhook without resending the webhook URL or token.

The company must already have a webhook configured; otherwise 409 Conflict is returned.Enabling data alerts switches the webhook from the summary hudsonrock:alert event to per-machine hudsonrock:data events; the two modes don't run together.

See Set Company Webhook for the full payload and delivery reference.If the authenticated user belongs to an organization with synced_data: true, only the user with organization.role: "owner" can call this endpoint. Other members receive 403 Forbidden.

Path Params
string
required
^[0-9a-fA-F]{24}$

Unique identifier of the target company

Body Params
boolean
required

true to send per-machine data events (hudsonrock:data) instead of the summary alert, false to go back to the summary alert (hudsonrock:alert).

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json