Unlink Graph Task
Take a graph off a task, from the task’s own page: the task is cleared out of every picker naming it, on the graph and on the instances forked for it. Nothing is deleted.
Not the graph owner’s alone — which task a graph is aimed at is the task’s business, and one task’s graph is regularly somebody else’s canvas.
DELETE
/api/v1/graphs/{graph_id}/tasks/{task_id}Authorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredPath parameters
graph_idstringrequiredtask_idstringrequiredResponses
200Successful Response
successbooleandefault: true
dataanymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X DELETE "/api/v1/graphs/string/tasks/string" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/graphs/string/tasks/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.delete(
"/api/v1/graphs/string/tasks/string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": null,
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}