SymetryML Documentation
Tasks

Delete task

Stop the Task's process if it's currently running (same effect as [Stop task](/docs/api-reference/tasks/tasks-taskid-stop-get)) and permanently remove its registration. To start it again later you'd need to [Create task](/docs/api-reference/tasks/tasks-create-post) again from scratch.

DELETE
/{user}/tasks/{taskid}

Stop the Task's process if it's currently running (same effect as Stop task) and permanently remove its registration. To start it again later you'd need to Create task again from scratch.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

taskid*string

Task name (used as its identifier)

Response Body

application/json

application/json

curl -X DELETE "https://example.com/c1/tasks/kstream_task_0"
{  "statusCode": 200,  "statusString": "OK",  "values": {}}
{  "statusCode": 400,  "statusString": "Customer [c1] has no Task [nosuchtask]",  "values": {}}