v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Team Users

Set a contact email address for a team user

This function sets or changes primary and secondary email addresses.

get/Team/set_contact_email

Query parameters

userstring required
Example:teamUser

The username of the team user.

email1string
Example:email1@example.com

The primary contact email address to set for the team user.

email2string
Example:email2@example.com

The secondary contact email address to set for the team user.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "set_contact_email",
  "module": "Team",
  "result": {
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}