Set a contact email address for a team user

This function sets or changes primary and secondary email addresses.

SecurityBasicAuth
Request
query Parameters
user
required
string

The username of the team user.

Example: user=teamUser
email1
string

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

Example: email1=email1@example.com
email2
string

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

Example: email2=email2@example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Team/set_contact_email
Request samples
uapi --output=jsonpretty \
  --user=username \
  Team \
  set_contact_email \
  user='teamUser'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "set_contact_email",
  • "module": "Team",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}