# Removes an deny mail rule. **DELETE /mail/{id}/rules/{ruleId}** Removes one of the configured deny mail rules from the system. ## Servers - Live API Endpoint: https://my.interserver.net/apiv2 (Live API Endpoint) ## Authentication methods - Api key auth - Session id header auth - Session id cookie auth ## Parameters ### Path parameters - **ruleId** (integer) The ID of the Rules entry. - **id** (integer) Mail ID number ## Responses ### 200 search results matching criteria #### Body: application/json (object) - **status** (string) - **text** (string) ### 400 The specified resource was not found #### Body: application/json (object) - **code** (string) - **message** (string) ### 401 Unauthorized #### Body: application/json (object) - **code** (string) - **message** (string) ### 404 The specified resource was not found #### Body: application/json (object) - **code** (string) - **message** (string) [Powered by Bump.sh](https://bump.sh)