# SSH Detail
Get the detail of the SSH Fail2ban.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/fail2ban
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/5/servers/15/fail2ban" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# SSH Detail:
- 200 (Ok)
{
"setting": {
"id":22,
"ban_time":"10m",
"find_time":"10m",
"max_retry":5
}
}
# Not Found
- 404 (Not Found)
{
"message": "Record not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong."
}
← SSH SSH Update Config →