SSH
Return whether cPanel account has shell access
This function returns whether the cPanel account has shell access and the account's shell path.
get/SSH/get_shell
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_shell",
"module": "SSH",
"result": {
"data": {
"has_terminal_access": true,
"shell": "/bin/bash"
},
"status": 1
}
}