Skip to main content
PUT
Block/unblock a file hash 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

digest
string
required

File hash (URL-encoded).

Maximum string length: 64
Pattern: ^(?:[A-Fa-f0-9]{32}|[A-Fa-f0-9]{40}|[A-Fa-f0-9]{64})$

Query Parameters

proxy
string

ONPREM only: LOCAL serves the request from this installation; any other value forwards it to the OneFirewall cloud (installation Alliance key). Ignored on CLOUD.

Maximum string length: 16
Pattern: ^[A-Za-z]+$
agid
string

Connector id. Records a connector feedback event; on ONPREM, without proxy, the connector's configured mode (LOCAL/CLOUD) decides where the request is served. Connector (agent) id.

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

Body

application/json
decision
enum<integer>
required

1 block, 0 unblock.

Available options:
0,
1
Required range: 0 <= x <= 1

Response

Success (empty body).