API operation · domains group
GET
/domains/{name}/modsec/disabled-rules
First published 19 Nov 2026
0.2.30Unchanged since publicationList disabled ModSecurity rules for a domain
Who may call it
AdministratorResellerCustomer
Token scope, any of
domainsreadallAnswers200 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 serverParameters
namepath ·DomainNameRequiredExample
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 sentence400Domain name required400Domain name too long400Invalid domain name400by is owner or administrator400scope is server or domains401Authentication required404Domain '<name>' not foundNo error of this operation matches.
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/