Skip to main content
POST
/
api
/
organizations
/
{organizationId}
/
blocked-ips
Add an IP to the blocklist
curl --request POST \
  --url https://your-instance.example.com/api/organizations/{organizationId}/blocked-ips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ip": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "blockedIPs": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

Body

application/json
ip
string
required

Response

IP blocked

success
boolean
message
string
data
object