Python
import requests url = "https://{FUSION HOST}/api/tasks/{id}" payload = {} headers = {"Content-Type": "application/json"} response = requests.delete(url, json=payload, headers=headers) print(response.text)
This response has no body data.
Delete a task.
An optional tag to match.
The task ID.
For supplying additional request parameters (such as relatedObjectIds) via request body instead of as request parameters. Use this if the URL is getting too long.
The body is of type object.
object
Was this page helpful?