Use this to delete a task variable.
An authenticated user can only delete a task variable if the authenticated user has started the process or if the user is involved in any of the process’s tasks.
If networks are enabled, the authenticated user can delete variables inside their network.
In non-network deployments, administrators can see all variables and perform all operations on variables. In network deployments, network administrators can see all variables in their network and perform all operations on variables in their network.
Using the HTTP DELETE method:-
Example request URL
- If the request is successful the variable is removed and an HTTP No Content (status 204) is returned.
- If the taskId does not exist in this network, an HTTP Not Found (status 404) is returned.
- If the variableName does not exist for this taskId, an HTTP Not Found (status 404) is returned.