Remove Tomcat 8.5 user

This function removes a user from the Tomcat 8.5 configuration.

Important:

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

Authorizations:
query Parameters
user
required
string <username>

The user that you wish to remove.

Note:

You can pass this parameter multiple times.

Examples:
user=user=username1 user=username2 user=username3
user=username

Responses

Response Schema: application/json
object

A status message for each username.

object

Request samples

whmapi1 --output=jsonpretty \
  ea4_tomcat85_rem \
  user='username'

Response samples

Content type
application/json
{
  • "data": {
    • "user123": "status"
    },
  • "metadata": {
    • "command": "ea4_tomcat85_rem",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}