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

# Changes to Update webhook

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 277 revisions.

- **2026-10-01** `238d2f7ca94b`: 2 breaking, 2 info
- **2026-09-25** `c1ab30deda01`: 1 info
- **2026-09-18** `74f2b0d17636`: 1 warning, 1 info
- **2026-09-11** `c447fcdd4d16`: 1 breaking, 1 info
- **2026-09-08** `bd17546f47b8`: 11 breaking, 21 warning, 2 info
- **2026-07-31** `c3e0c48d4112`: 1 warning, 1 info
- **2026-07-27** `05ebd27557fb`: 1 info
- **2026-07-26** `36390f25f00f`: 1 info

## Changes

- **2026-10-01** `238d2f7ca94b`: 2 breaking, 2 info
  - removed `subschema #1, subschema #2` from the `job` request property `oneOf` list
  - added `subschema #1, subschema #2` to the `webhook/job` response property `oneOf` list for the response status `200`
  - added `subschema #1, subschema #2` to the `job` request property `oneOf` list
  - removed `subschema #1, subschema #2` from the `webhook/job` response property `oneOf` list for the response status `200`
- **2026-09-25** `c1ab30deda01`: 1 info
  - added the new optional request property `secrets`
- **2026-09-18** `74f2b0d17636`: 1 warning, 1 info
  - added the new `container` enum value to the `webhook/watched/items/type` response property for the response status `200`
  - added the new `container` enum value to the request property `watched/items/type`
- **2026-09-11** `c447fcdd4d16`: 1 breaking, 1 info
  - removed `subschema #1, subschema #2` from the `job` request property `oneOf` list
  - added `subschema #1, subschema #2` to the `job` request property `oneOf` list
- **2026-09-08** `bd17546f47b8`: 11 breaking, 21 warning, 2 info
  - the `domains/items/` request property type changed from no type to `string`
  - the `job` request property type changed from `object` to no type
  - the `watched/items/type` request property type changed from no type to `string`
  - 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 request property `job/arch`
  - removed the request property `job/arguments`
  - removed the request property `job/attempts`
  - removed the request property `job/command`
  - removed the request property `job/dockerImage`
  - removed the request property `job/environment`
  - removed the request property `job/expose`
  - removed the request property `job/flavor`
  - removed the request property `job/labels`
  - removed the request property `job/resourceGroupId`
  - removed the request property `job/secrets`
  - removed the request property `job/spaceId`
  - removed the request property `job/ssh`
  - removed the request property `job/timeoutSeconds`
  - removed the request property `job/volumes`
  - 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
  - added `subschema #1, subschema #2` to the `job` request property `oneOf` list
  - 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
- **2026-07-27** `05ebd27557fb`: 1 info
  - added the new optional request property `job/resourceGroupId`
- **2026-07-26** `36390f25f00f`: 1 info
  - added the new optional request property `job/expose/portsPublic`

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/settings/webhooks/:webhookId/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/post)
