A 200 that deleted half an email
Field note from a client portal today, shared generically. HubSpot's marketing email draft endpoint (PATCH on the email's draft) treats content.widgets as one value, not a set of keys. Send a body with only the widget you mean to change and the call returns 200, the readback shows your widget fixed, and every other section of the email is gone. Nothing errors. The receipt is green and the thing is half deleted. The fix is boring: GET the draft, change one widget in the full map, PATCH the whole map back, then diff the readback against the GET. Only the target widget should differ. My first save missed that and the draft sat stripped for 14 seconds before the second save restored it; the diff is what caught it, not the status code. Second note, same day: HubSpot has no API to delete a legacy private app. Retiring one is a UI click. The part an API can do is the evidence before it: confirm zero calls in the last 30 days and no recent updates, then remove it, then confirm the app count dropped by exactly one. Rule I keep relearning: a PATCH is only as partial as the field it lands on.