Patch an entry
Log in to add to favouritesPage last updated 09 December 2025
Parameters
| Name | Parameter type | Type | Format | Description |
|---|---|---|---|---|
| projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
| entryId(required) | query | string | uuid | The entry identifier as a 128 bit GUID |
Responses
Examples
curl -X PATCH "http://{your-cms-address}/api/management/projects/website/entries/{entry id}" \
-H "Content-Type: application/json-patch+json" \
-d '[{ "op": "replace", "path": "/description", "value": "Tall" }]'curl -X PATCH "http://{your-cms-address}/api/management/projects/website/entries/{entry id}" \
-H "Content-Type: application/json-patch+json" \
-d '[{ "op": "replace", "path": "/description", "value": "Tall" }, { "op": "replace", "path": "/keywords", "value": ["Tag1", "Tag2"] }]'curl -X PATCH "http://{your-cms-address}/api/management/projects/website/entries/{entry id}" \
-H "Content-Type: application/json-patch+json" \
-d '[{ "op": "test", "path": "/description", "value": "Tall" }, { "op": "replace", "path": "/description", "value": "Taller" }]'
curl -X PATCH "http://{your-cms-address}/api/management/projects/website/entries/{entry id}" \
-H "Content-Type: application/merge-patch+json" \
-d '{"description": "Tall"}'curl -X PATCH "http://{your-cms-address}/api/management/projects/website/entries/{entry id}" \
-H "Content-Type: application/merge-patch+json" \
-d '{"description": "Tall", "keywords": ["Tag1", "Tag2"]}'
curl -X PATCH "http://{your-cms-address}/api/management/projects/website/entries/{entry id}" \
-H "Content-Type: application/merge-patch+json" \
-d '{"description": "Taller", "sys": { "version": { "versionNo": "1.9" }}}'
Remarks
Both patching methods help prevent accidental overwrites from concurrent updates.
JSON Patch supports test operations that let you check the current value of a field before applying a change. This helps avoid updating a field if another user has modified it.
For example, you can test that the description field is "Tall" before replacing it with "Taller". If the test fails, the patch is rejected with a 422 Validation Error.
Merge Patch does not support field-level tests, but you can include a version number to make sure the entry hasn’t changed since it was last retrieved.
To do this, include the version inside the sys.version.versionNo property in your patch body. If the version number doesn’t match the current version of the entry, the patch is rejected with a 422 Validation Error.
For more information on JSON Patch operations, see Microsoft JSON Patch examples.