Description

This function removes a user from the Tomcat 8.5 configuration.

Examples 




https://hostname.example.com:2087/cpsess##########/json-api/ea4_tomcat85_rem?api.version=1&user=user123&user=user456




whmapi1 ea4_tomcat85_rem user=user123 user=user456



{
   "metadata":{
      "command":"ea4_tomcat85_rem",
      "version":1,
      "result":1,
      "reason":"OK"
   },
   "data":{
      "user123":"The user does not have a tomcat 8.5 instance.\n",
      "user456":""
   }
}



Parameters

ParameterTypeDescriptionPossible valuesExample

user


string

Required

The user that you wish to remove.

You can pass this parameter multiple times.


A valid user name.


user123

Returns

ReturnTypeDescriptionPossible valuesExample

user name

string

A status message.

This return's name is the user's name.


  • A blank string.
  • Any error message.

A blank string represents success.



""