curl --request PATCH \
--url https://api.example.com/v1/cases/{case_id}/goals/{goal_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "pending"
}
'{
"data": {
"id": "01K5XE10FJ8T55HRYE78AN7MNO",
"type": "discover_financial_accounts",
"status": "in_progress",
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Update a goal’s status.
curl --request PATCH \
--url https://api.example.com/v1/cases/{case_id}/goals/{goal_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "pending"
}
'{
"data": {
"id": "01K5XE10FJ8T55HRYE78AN7MNO",
"type": "discover_financial_accounts",
"status": "in_progress",
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique case identifier (ULID format).
Goal identifier.
pending, in_progress, completed Goal updated.
Show child attributes