cURL
curl --request PUT \ --url https://api.smokeball.com/tasks/{taskId}/subtasks/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --header 'x-api-key: <api-key>' \ --data '{ "staffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8", "completedByStaffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8", "subject": "Confer with Mary", "isCompleted": false, "completedDate": "2022-07-01" }'
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }
Updates a specified subtask of a specified task.
Data transfer object for a subtask.
When request is accepted. Returns a hypermedia 'Link' object of the subtask to be updated.
The response is of type object.
object