curl --request PATCH \
--url https://api.usecobalt.com/v1/providers/{id} \
--header 'Content-Type: application/json' \
--header 'access_token: <api-key>' \
--header 'client_id: <api-key>' \
--header 'client_secret: <api-key>' \
--data '
{
"status": "active",
"hours": [
{
"day": "Monday",
"shifts": [
{
"start": "T08:00:00",
"end": "T17:00:00",
"facility_id": "<string>",
"set_start_date": "2025-11-13T00:00:00",
"set_end_date": "2026-11-13T00:00:00",
"set_recur": {
"rec_start_date": "2025-11-13T00:00:00",
"rec_end_date": "2026-11-13T00:00:00",
"recur_interval_type": "days",
"recur_interval_amount": 1,
"recur_interval_description": "Every 1 week."
}
}
]
}
]
}
'