# Create Ignore Ip

Create Ignore Ip in Jail.

# HTTP Request:

POST https://api.serveravatar.com/organizations/{organization}/servers/{server}/fail2ban/{fail2ban}/ignore-ip

# Parameter:

Parameters Required Type Description
ip Yes IP Any Ipv4 or Ipv6 ip address.

# Curl Request example:

curl --request POST \
  --url "https://api.serveravatar.com/organizations/5/servers/15/fail2ban/11/ignore-ip" \
  --header 'content-type: application/json' \
  --header 'accept: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'
  --data '{
    "ip": "114.70.185.87"
  }'

# Response:

# Create Ignore Ip:

  • 200 (Ok)
{
    "message": "Ignore ip added successfully
}

# Record Not Found

  • 404 (Not Found)
{
    "message": "Record not found!"
}

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong."
}
Last Updated: 7/18/2023, 7:37:13 AM