cURL
curl --request PATCH \ --url https://api.sandbox.getasset.com/v0/business/{business_id}/task/{task_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "description": "<string>", "status": "pending" }'
{ "data": { "business_id": "biz_Pk2fNFDd8wj7EFeLWJywc7", "description": "ABC Business Checking", "status": "pending", "task_type": "reconnect_account", "first_requested_at": "2023-11-07T05:31:56Z", "last_requested_at": "2023-11-07T05:31:56Z", "id": "tsk_R2fAXCjqJPdpYata112zyW" } }
The access token received from the authorization server in the OAuth 2.0 flow.
The new task description
1
The new status for the task
pending
completed
Successful Response
Show child attributes