updateEmailAddress()
Updates an EmailAddress
with a given ID with attribute values provided in a params object.
- Name
primary?
- Type
boolean
- Description
Whether or not to set the email address as the user's primary email address.
- Name
verified?
- Type
boolean
- Description
Whether or not the email address is verified.
updateEmailAddress()
example
Let's start with an EmailAddress
object that looks like this:
Let's update the email address to be unverified:
As you can see in the response, the email address is now unverified.
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint PATCH/email_addresses/{email_address_id}
. See the BAPI reference for more details.
Feedback
Last updated on