Deletes a variable of a process instance by id.
Method
DELETE /process-instance/{id}/variables/{varName}
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the process instance to delete the variable from. |
varName | The name of the variable to delete. |
Result
This method returns no content.
Response Codes
Code | Media type | Description |
---|---|---|
204 | Request successful. |
Example
Request
DELETE /process-instance/aProcessInstanceId/variables/aVarName
Response
Status 204. No content.
原文: https://docs.camunda.org/manual/7.9/reference/rest/process-instance/variables/delete-variable/