Add Tomcat 8.5 user

This function adds a user to the Tomcat 8.5 configuration.

Important:

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

SecurityBasicAuth
Request
query Parameters
user
required
string <username>

The user that you wish to add.

Note:

You can pass this parameter multiple times to add multiple users to the Tomcat 8.5 configuration.

Examples:
Multiple users.
user=user=username1 user=username2 user=username3
A single user.
user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object

A status message for each username.

object
get/ea4_tomcat85_add
Request samples
whmapi1 --output=jsonpretty \
  ea4_tomcat85_add \
  user='username'
Response samples
application/json
{
  • "data": {
    • "user123": "status"
    },
  • "metadata": {
    • "command": "ea4_tomcat85_add",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}