# Unban Ip
Unban Ip in Jail.
# HTTP Request:
POST https://api.serveravatar.com/organizations/{organization}/servers/{server}/fail2ban/{fail2ban}/unban-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/unban-ip" \
--header 'content-type: application/json' \
--header 'accept: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
--data '{
"ip": "254.244.84.16"
}'
# Response:
# Unban Ip:
- 200 (Ok)
{
"message": "Ip unban successfully!"
}
# Record Not Found
- 404 (Not Found)
{
"message": "Record not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong."
}