Skip to main content
PATCH
Change part of the login IP allowlist policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
mode
enum<string>

Whether logins from outside the allowlist are refused

Available options:
disabled,
enforced
entries
object

Networks to allow and networks to revoke

Response

The stored login IP allowlist policy

mode
enum<string>
required

Whether logins from outside the allowlist are refused. Entries are kept while the policy is disabled.

Available options:
disabled,
enforced
entries
string[]
required

Networks allowed to authenticate. A single host is returned as a bare address, a wider range in CIDR notation.

Maximum array length: 1000