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.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  ea4_tomcat85_list

Response samples

Content type
application/json
{
  • "data": {
    • "tomcat85_users": [
      • "user123",
      • "user456",
      • "user789"
      ]
    },
  • "metadata": {
    • "command": "ea4_tomcat85_list",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}