cURL
curl --request PUT \ --url https://api.decodahealth.com/calendar/connect-record-to-event \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Connect any record that has a foreign key to Event to a specific event.
This endpoint automatically finds which table contains the record_id and updates the appropriate foreign key column to link it to the specified event.
The tenant you are making this request on behalf of
Your api key
Successful Response