cURL
curl --request PUT \ --url https://api.example.com/tasks/name/{task_name} \ --header 'Content-Type: application/json' \ --data ' { "task_metadata": {} } '
{ "id": "<string>", "name": "<string>", "status": "CANCELED", "status_reason": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "params": {}, "task_metadata": {} }
Update mutable fields for a task by its unique Name.
Successful Response
CANCELED
COMPLETED
FAILED
RUNNING
TERMINATED
TIMED_OUT
DELETED