# SSH Root Access Toggle
Enable or disable the SSH root access for the application user.
# HTTP Request:
PATCH https://api.serveravatar.com/organizations/{organization}/servers/{server}/system-users/{system_user}/ssh-root-access
# Curl Request example:
curl --request PATCH \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/system-users/{system_user}/ssh-root-access" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Successful Operation
- 200 (Ok)
{
"message": "Root access has been enabled 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 wrong."
}