---
title: "Changes to Update a Goal"
method: PATCH
path: "/v1/web-visits/goals/{id}"
---

# Changes to Update a Goal

`PATCH /v1/web-visits/goals/{id}`

> Every recorded change to this operation, newest first.
> 46 revisions in range; 1 not diffed.

## Timeline

Changed in 3 of 46 revisions.

- **2026-10-15** `65f17e3add9b`: 20 breaking
- **2026-10-15** `9016d077b7d3`: 1 breaking, 1 info
- **2026-10-14** `c0f1ebf5f542`: 1 info

## Changes

- **2026-10-15** `65f17e3add9b`: 20 breaking
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #10: video_url: presence]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #10: video_url: presence]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #1: page_url: comparison]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #1: page_url: comparison]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #2: page: comparison]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #2: page: comparison]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #3: form_submit: comparison]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #3: form_submit: comparison]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #4: form_submit: presence]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #4: form_submit: presence]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #5: file_download_name: comparison]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #5: file_download_name: comparison]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #6: file_download_name: presence]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #6: file_download_name: presence]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #7: video_title: comparison]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #7: video_title: comparison]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #8: video_title: presence]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #8: video_title: presence]/operator` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #9: video_url: comparison]/field` request property type changed from no type to `string`
  - the `data/attributes/criterion/allOf[subschema #1]/anyOf[subschema #9: video_url: comparison]/operator` request property type changed from no type to `string`
- **2026-10-15** `9016d077b7d3`: 1 breaking, 1 info
  - removed `subschema #1, subschema #2` from the `data/attributes/criterion/allOf[subschema #1]/` request property `oneOf` list
  - added `subschema #1: page_url: comparison, subschema #2: page: comparison, subschema #3: form_submit: comparison, subschema #4: form_submit: presence, subschema #5: file_download_name: comparison, subschema #6: file_download_name: presence, subschema #7: video_title: comparison, subschema #8: video_title: presence, subschema #9: video_url: comparison, subschema #10: video_url: presence` to the `data/attributes/criterion/allOf[subschema #1]/` request property `anyOf` list
- **2026-10-14** `c0f1ebf5f542`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/leadfeeder/apis/leadfeeder-public-api/docs/v1/web-visits/goals/:id/patch.md) - [API](https://skmtc.dev/leadfeeder/apis/leadfeeder-public-api.md) - [Page](https://skmtc.dev/leadfeeder/apis/leadfeeder-public-api/changes/v1/web-visits/goals/:id/patch)
