API
Update a label
Rename or recolour. Both fields are replaced, so send the name even when only the colour changes.
PATCHapi.openemail.uk/labels/{id}
Runs the real call against your workspace, with your own key.
PATCH /labels/{id}
Rename or recolour. Both fields are replaced, so send the name even when only the colour changes.
Example
Needs labels:write.
curl -X PATCH "$OE/labels/USER_INVOICES" -H "$AUTH" -H "Content-Type: application/json" \ -d '{ "name": "Billing", "color": { "backgroundColor": "#fce8e6", "textColor": "#c5221f" } }'{ "object": "label", "id": "USER_INVOICES", "name": "Billing" }