---
updatedAt: 2026-04-22T20:34:26.000Z
agentTools:
  projectIndex: https://developers.conekta.com/llms.txt
---

# Delete blacklisted rule

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "contact": {
      "email": "engineering@conekta.com",
      "name": "Engineering Conekta",
      "url": "https://github.com/conekta/openapi/issues"
    },
    "description": "Conekta sdk",
    "license": {
      "name": "MIT-LICENSE",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Conekta API",
    "version": "2.3.0"
  },
  "servers": [
    {
      "description": "Conekta main server",
      "url": "https://api.conekta.io"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/antifraud/blacklists/{id}": {
      "delete": {
        "operationId": "DeleteRuleBlacklist",
        "parameters": [
          {
            "description": "Identifier of the resource",
            "explode": false,
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "example": "6307a60c41de27127515a575",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "Use for knowing which language to use",
            "examples": {
              "es": {
                "summary": "for spanish request/response",
                "value": "es"
              },
              "en": {
                "summary": "for english request/response",
                "value": "en"
              }
            },
            "explode": false,
            "in": "header",
            "name": "Accept-Language",
            "required": false,
            "schema": {
              "default": "es",
              "enum": [
                "es",
                "en"
              ],
              "type": "string"
            },
            "style": "simple"
          },
          {
            "description": "In the case of a holding company, the company id of the child company to which will process the request.",
            "example": "6441b6376b60c3a638da80af",
            "explode": false,
            "in": "header",
            "name": "X-Child-Company-Id",
            "required": false,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.conekta-v2.3.0+json": {
                "schema": {
                  "$ref": "#/components/schemas/deleted_blacklist_rule_response"
                }
              }
            },
            "description": "successfully deleted rule"
          },
          "401": {
            "content": {
              "application/vnd.conekta-v2.3.0+json": {
                "example": {
                  "details": [
                    {
                      "message": "Please include your access key in your request.",
                      "code": "conekta.errors.authentication.missing_key"
                    }
                  ],
                  "log_id": "507f1f77bcf86cd799439011",
                  "object": "error",
                  "type": "authentication_error"
                },
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "authentication error"
          },
          "404": {
            "content": {
              "application/vnd.conekta-v2.3.0+json": {
                "example": {
                  "details": [
                    {
                      "message": "The resource was not found.",
                      "code": "conekta.errors.resource_not_found.entity",
                      "debug_message": "The object Webhook \"641b1d5662d7e00001eaa46b\" could not be found."
                    }
                  ],
                  "log_id": "641b6c253cd9a50001514fae",
                  "object": "error",
                  "type": "resource_not_found_error"
                },
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "not found entity"
          },
          "500": {
            "content": {
              "application/vnd.conekta-v2.3.0+json": {
                "example": {
                  "details": [
                    {
                      "debug_message": "There was a runtime error and Conekta engineers have been notified.",
                      "message": "There was a runtime error and Conekta engineers have been notified.",
                      "code": "conekta.errors.api.system.general_failure"
                    }
                  ],
                  "object": "error",
                  "type": "api_error",
                  "log_id": "641b6f2b3cd9a50001515098"
                },
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "internal server error"
          }
        },
        "summary": "Delete blacklisted rule",
        "tags": [
          "Antifraud"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "details_error": {
        "properties": {
          "code": {
            "example": "conekta.errors.authentication.missing_key",
            "type": "string"
          },
          "param": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "example": "Acceso no autorizado.",
            "type": "string"
          },
          "debug_message": {
            "example": "Please include your access key in your request.",
            "type": "string"
          }
        },
        "title": "details_error"
      },
      "error": {
        "allOf": [
          {
            "properties": {
              "details": {
                "items": {
                  "$ref": "#/components/schemas/details_error"
                },
                "type": "array"
              }
            }
          },
          {
            "properties": {
              "log_id": {
                "description": "log id",
                "example": "507f1f77bcf86cd799439011",
                "nullable": true,
                "type": "string"
              },
              "type": {
                "example": "authentication_error",
                "type": "string"
              },
              "object": {
                "example": "error",
                "type": "string"
              }
            }
          }
        ],
        "description": "err model",
        "title": "error"
      },
      "deleted_blacklist_rule_response": {
        "properties": {
          "id": {
            "description": "Blacklist rule id",
            "example": "2fw8EWJusiRrxdPzT",
            "type": "string"
          },
          "field": {
            "description": "field used for blacklists rule deleted",
            "example": "email",
            "type": "string"
          },
          "value": {
            "description": "value used for blacklists rule deleted",
            "example": "email@example.com",
            "type": "string"
          },
          "description": {
            "description": "use an description for blacklisted rule",
            "example": "banned customer example@example.com",
            "type": "string"
          }
        },
        "title": "deleted_blacklist_rule_response"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```