Get your free beta license ↗
API operation · domains group
GET

/domains/{name}/modsec/disabled-rules

First published 19 Nov 20260.2.30Unchanged since publication

List disabled ModSecurity rules for a domain

Who may call it
AdministratorResellerCustomer
Token scope, any of
domainsreadall
Answers200 OK

Returns the detection rules disabled by the domain's owner or by an administrator, ordered by rule number. The response shows who disabled each rule and when, how many rules the owner has disabled, and how many more the owner can disable.

The domain's owner, the reseller who manages the owner, and administrators can view the list. Only administrators can see administrators' names or re-enable rules disabled by an administrator.

As a command

Run as root on the server

Parameters

namepath ·DomainNameRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/domains/example.com/modsec/disabled-rules" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "apache": "text",
  "by_owner": 1,
  "changed": 1,
  "domain": "example.com",
  "files_changed": 1,
  "left": 1,
  "max": 1,
  "owner": "text",
  "rules": [
    {
      "at": "text",
      "by": "owner",
      "by_name": "text",
      "domain": "example.com",
      "gone": true,
      "group": "text",
      "id": 1,
      "message": "text",
      "owner": "text",
      "paranoia_level": 1,
      "rule": 1,
      "score": 1,
      "severity": "critical"
    }
  ],
  "total": 1
}

Errors

7 errors, each a status and a sentence
400Domain name required
400Domain name too long
400Invalid domain name
400by is owner or administrator
400scope is server or domains
401Authentication required
404Domain '<name>' not found
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/api/get-domains-name-modsec-disabled-rules/