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
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
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
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.