Delete Task Variable
Removes a variable that is visible to a task. A variable is visible to a task if it is a local task variable or declared in a parent scope of the task. See documentation on visiblity of variables.
Method
DELETE /task/{id}/variables/{varName}
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the task. |
varName | The name of the variable to be removed. |
Result
This method returns no content.
Response Codes
Code | Media type | Description |
---|---|---|
204 | Request successful. | |
500 | application/json | Task id is null or does not exist. See the Introduction for the error response format. |
Example
Request
DELETE /task/aTaskId/variables/aVarName
Response
Status 204. No content.