Skip to main content
PUT
/
tasks
/
{id}
Update a task
import requests

url = "https://{FUSION HOST}/api/tasks/{id}"

payload = {}
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
{
  "id": "<string>",
  "type": "<string>"
}

Headers

If-Match
string
default:"-1"

An optional tag to match.

Path Parameters

id
string
required

The task ID.

Body

application/json · object

JSON-formatted configuration values.

The body is of type object.

Response

200 - application/json

successful operation

id
string
type
string