Return Tomcat 8.5 users

This function returns a list of the users that run Tomcat.

Important:

When you disable the Web Server role, the system disables this function.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/ea4_tomcat85_list
Request samples
whmapi1 --output=jsonpretty \
  ea4_tomcat85_list
Response samples
application/json
{
  • "data": {
    • "tomcat85_users": [
      • "user123",
      • "user456",
      • "user789"
      ]
    },
  • "metadata": {
    • "command": "ea4_tomcat85_list",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}