Skip to main content
PUT
Replace 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>
required

Whether logins from outside the allowlist are refused

Available options:
disabled,
enforced
entries
string[]
required

The complete set of networks allowed to authenticate

Maximum array length: 1000

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