# SSH Key Remove

Delete the SSH key for the application user.

# HTTP Request:

GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/system-users/{system_user}/ssh-key-remove

# Curl Request example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/system-users/{system_user}/ssh-key-remove" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# SSH Key Delete

  • 200 (Ok)
{
  "message": "SSH key removed successfully for {Application User Username}."
}

# SSH Key Not found

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

# Application User Not found

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

# Organization Not Found

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

# Server Not Found

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

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}
Last Updated: 3/1/2023, 1:57:58 PM