# SFTP/SSH Access Toggle

Enable or disable the SFTP/SSH access for the appliation user.

# HTTP Request:

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

# Curl Request example:

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

# Response:

# Successful Operation

  • 200 (Ok)
{
  "sftp_ssh_access": true,
  "message": "Application user has been updated successfully!"
}

# 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