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

First published 19 Nov 2026 (release 0.2.30) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the domains group.

List disabled ModSecurity rules for a domain

- Who may call it: administrator, reseller, customer
- Token scope, any of: domains, read, all
- Answers: 200 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

- [urbestack-modsec-disabled-rules](https://urbestack.com/docs/commands/urbestack-modsec-disabled-rules.md): Lists the ModSecurity rule set's detection rules that are turned off.

## Parameters

- `name` (path, DomainName, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 400: Domain name required
- 400: Domain name too long
- 400: Invalid domain name
- 400: by is owner or administrator
- 400: scope is server or domains
- 401: Authentication required
- 404: Domain '<name>' not found
