Deletes a process instance from the history by id.

Method

DELETE /history/process-instance/{id}

Parameters

Path Parameters

Name Description
id The id of the historic process instance to be deleted.

Result

No content.

Response Codes

Code Media type Description
204 application/json Request successful.
404 application/json Historic process instance with given id does not exist. See the Introduction for the error response format.

Example

Request

DELETE /history/process-instance/aProcInstId

Response

Status 204. No content.

原文: https://docs.camunda.org/manual/7.9/reference/rest/history/process-instance/delete-process-instance/