# JailUpdate

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

Changes to a rule's enabled state, failure threshold, time window, ban duration, or scope. Only administrator-created rules support changes to the log and pattern.

## Fields

- `bantime` (string, up to 16 characters): Ban duration expressed in seconds or with a unit suffix, as in 10m, 1h, 2d, or 1w.
- `enabled` (boolean)
- `log` (string, up to 255 characters)
- `pattern` (string, up to 500 characters)
- `scope` (string, one of all, mail, web): Scope of the ban. The value all blocks all traffic from the IP address. The values mail and web limit the ban to the ports the rule protects.
- `tries` (integer, 1 to 1000)
- `window` (string, up to 16 characters): Time window during which failures count toward a ban, expressed in seconds or with a unit suffix, as in 10m, 1h, 2d, or 1w.

## Used by

- [PATCH /security/jails/{name}](https://urbestack.com/docs/api/patch-security-jails-name.md): Update a ban rule
