For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Primary User Email

GraphQL endpoint: /user

Sets a verified email address as the primary email for the user. The primary email is used as the main contact email for the account. Only one email can be primary at a time, and only verified emails can be set as primary.

Query

mutation (
  $id: ID!
) {
  setPrimaryUserEmail (
    id: $id
  ) {
    id
    email
    types
    primary
  }
}

Variables

Response

Last updated