Delete a manual label
DELETE
Deletes a manual label and removes it from every email that carries it (emails are not touched otherwise). AI labels are deleted through their rule: here they return 400 INVALID_TAG.
Authorization
apiKey Authorization<token>
Your 48 character Emelia API key, the same as for the Emelia API, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api. Disabling a key can take up to 5 minutes to apply to the Inbox API.
In: header
Path Parameters
labelId*string
Label id, from GET /labels.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/labels/cmtgacme0000000000000001" \ -H "Authorization: YOUR_API_KEY"Empty