---
title: "Changes to Update an existing petition"
method: PATCH
path: "/api/v2/petitions/{id}"
---

# Changes to Update an existing petition

`PATCH /api/v2/petitions/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 3 revisions.

- **2026-11-05** `d5c88ca497ac`: 4 breaking, 1 warning, 8 info
- **2026-02-14** `31995b0a1e61`: 1 breaking, 1 warning, 14 info

## Changes

- **2026-11-05** `d5c88ca497ac`: 4 breaking, 1 warning, 8 info
  - added `#/components/schemas/update_request_document, subschema #2` to the request body `allOf` list
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `data` from the response with the `200` status
  - removed the request property `data`
  - added the media type `application/vnd.api+json` to the request body
  - added `#/components/schemas/show_document, subschema #2` to the response body `allOf` list for the response status `200`
  - media type `application/json` was changed to a more specific media type `application/vnd.api+json` for the response status `200`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `422`
  - added the non-success response with the status `429`
- **2026-02-14** `31995b0a1e61`: 1 breaking, 1 warning, 14 info
  - the `data/attributes` request property type changed from no type to `object`
  - removed `#/components/schemas/petition_read_write_attributes, #/components/schemas/petition_write_only_attributes` from the `data/attributes` request property `allOf` list
  - added the new optional request property `data/attributes/additional_signatures_count`
  - added the new optional request property `data/attributes/auto_response_broadcaster_id`
  - added the new optional request property `data/attributes/auto_response_content`
  - added the new optional request property `data/attributes/auto_response_subject`
  - added the new optional request property `data/attributes/content`
  - added the new optional request property `data/attributes/gather_volunteers`
  - added the new optional request property `data/attributes/goal`
  - added the new optional request property `data/attributes/intro`
  - added the new optional request property `data/attributes/is_auto_response`
  - added the new optional request property `data/attributes/page_id`
  - added the new optional request property `data/attributes/petition_form_address`
  - added the new optional request property `data/attributes/petition_form_phone`
  - added the new optional request property `data/attributes/signature_name`
  - added the optional property `data/attributes/page_id` to the response with the `200` status

---

[Operation](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/docs/api/v2/petitions/:id/patch.md) - [API](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api.md) - [Page](https://skmtc.dev/nationbuilder/apis/nationbuilder-v2-api/changes/api/v2/petitions/:id/patch)
