Skip to main content
PUT
Block/unblock an IPv4 for the organization

Authorizations

Authorization
string
header
required

JWT signed (HS256) with a per-user server-side secret; revocable per user. Token handling follows RFC8725 (JWT best current practices): algorithm pinned by the server, no none, claims checked against the live user record. See the API description for the compatibility forms (Basic, query parameter).

Path Parameters

ref
string
required

GET: rule GID (OFA-RULE-GID-...). PUT: IPv4 address.

Maximum string length: 128
Pattern: ^[A-Za-z0-9._:/-]+$

Body

application/json

At least one of decision or ttl.

decision
enum<integer>

Organization decision: 1 block, 0 unblock (allow), -1 no decision.

Available options:
-1,
0,
1
Required range: -1 <= x <= 1
ttl
integer<int64> | null

Unix time (seconds) when the decision expires; null makes it permanent.

Required range: 1 <= x <= 9999999999

Response

Success (empty body).