---
title: "Changes to Enable/disable webhook"
method: POST
path: "/api/settings/webhooks/{webhookId}/{action}"
---

# Changes to Enable/disable webhook

`POST /api/settings/webhooks/{webhookId}/{action}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 82 revisions.

- **2026-09-18** `74f2b0d17636` — 1 warning
- **2026-09-08** `bd17546f47b8` — 8 breaking, 6 warning, 1 info
- **2026-07-31** `c3e0c48d4112` — 1 warning, 1 info

## Changes

- **2026-09-18** `74f2b0d17636` — 1 warning
  - added the new `container` enum value to the `webhook/watched/items/type` response property for the response status `200`
- **2026-09-08** `bd17546f47b8` — 8 breaking, 6 warning, 1 info
  - added `subschema #1, subschema #2` to the `webhook/job` response property `oneOf` list for the response status `200`
  - the `webhook/disabled/anyOf[subschema #2]/` response's property type changed from no type to `string` for status `200`
  - the `webhook/domains/items/` response's property type changed from no type to `string` for status `200`
  - the `webhook/job` response's property type changed from `object` to no type for status `200`
  - the `webhook/watched/items/type` response's property type changed from no type to `string` for status `200`
  - removed the required property `webhook/job/environment` from the response with the `200` status
  - removed the required property `webhook/job/flavor` from the response with the `200` status
  - removed the required property `webhook/job/timeoutSeconds` from the response with the `200` status
  - removed the optional property `webhook/job/arguments` from the response with the `200` status
  - removed the optional property `webhook/job/command` from the response with the `200` status
  - removed the optional property `webhook/job/dockerImage` from the response with the `200` status
  - removed the optional property `webhook/job/labels` from the response with the `200` status
  - removed the optional property `webhook/job/secrets` from the response with the `200` status
  - removed the optional property `webhook/job/spaceId` from the response with the `200` status
  - the `webhook/lastTriggerAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
- **2026-07-31** `c3e0c48d4112` — 1 warning, 1 info
  - removed the optional property `webhook/secret` from the response with the `200` status
  - added the required property `webhook/hasSecret` to the response with the `200` status

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/settings/webhooks/:webhookId/:action/post.md) · [API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [Page](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/settings/webhooks/:webhookId/:action/post)
