Delete Contact Version
DELETE/v1/contacts/:id/contenthistory
Delete the stored version of a Contact with a specific version ID. ID of the version (content history record), not of the Contact.
GET uses the owner ID and route defaults for type_alias and type_id. PATCH to /keep toggles keep_forever; it does not accept a desired state such as {"keep":true}. Repeating it can undo the first action. There is no general history creation form or restore endpoint here. Use stored version data as editing source only when it matches the owner and intended version. The base edit check requires core.manage and record core.edit, or core.edit.own with a matching owner; component overrides take precedence. Omitted SERVER_UTC/USER_UTC calendar values are restored from the stored UTC values after validation, avoiding a second timezone conversion.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 406
- 409
- 500
Deleted; no response body is required.
Invalid parameters, form validation or save failure.
Missing or invalid API authentication.
Access denied by ACL.
Route, record or task not found. The AdminModel session flag can instead produce a legacy application/json error envelope.
Unsupported Accept header.
The record cannot be deleted in its current state.
Model or server error.