Delete an AI label rule and its label
DELETE
Deletes the rule AND its label; the label is removed from every email that carried it.
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
ruleId*string
AI label rule id (not the label id).
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/ai-label-rules/cmrlacme0000000000000001" \ -H "Authorization: YOUR_API_KEY"Empty