Remove a label from an email
DELETE
Idempotent: removing a label the email does not carry, or an unknown label id, is not an error and returns 204. No webhook is fired on removal.
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
emailId*string
Inbox id of the email (from GET /emails, webhooks...).
labelId*string
Label id, from GET /labels.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/emails/cmemacme0000000000000001/labels/cmtgacme0000000000000001" \ -H "Authorization: YOUR_API_KEY"Empty