POST
/
ips
curl --request POST \
  --url https://app.onefirewall.com/api/v1/ips \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ip": "<string>",
  "confidence": 123,
  "notes": "<string>",
  "decision": -1,
  "ttl": 123,
  "source": "<string>"
}'

Authorizations

Authorization
string
header
required

Authorization Token

Body

application/json
ip
string
required

An IPv4 format for single IP or Network

confidence
number
required

A confidence value 0.0 to 1.0. A percentace of confidence on the the actor being malicious

source
string
required

The source from where the actor was identified

notes
string

Notes associated to the actor

decision
number
default:
-1

-1==no decision (default), 0==whitelist, 1==Block

Required range: -2 < x < 2
ttl
number

Until when the decision is valid (Timestamp in the future)