Management API / Content
Update content
PATCH
/api/manage/v1/content/{id}Updates an entry. On a draft the change is saved directly. On a published entry it is saved as the working revision, unless status publishes or unpublishes it. Changing status to published, or touching a scheduled entry's status, also requires content:publish.
Authorization
AuthorizationheaderrequiredBearer jfk_…: an API key created in Admin → Settings → API.- Required capability
content:updateThe key and its owner must both hold it. Content scopes on the key are applied to this request as well.
Path parameters
idstringrequiredThe resource id.
Body
application/jsontitlestringslugstringexcerptstring | nullblocksobjectThe full block document.
fieldsobjectCustom field values.
statusstringPublish, unpublish, or archive.
Available options:
draftpublishedarchivedexpectedVersionintegerThe
versionyou read. A stale version is rejected instead of overwriting someone else's change.
Response
- 200OK
- 401Missing, unknown, revoked, expired, or out-of-scope key.
- 403The key or its owner lacks the required capability or scope.
- 404No such resource on this site.
- 429Per-key or per-IP rate limit exceeded. Wait for the seconds in
Retry-After.