TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Email Remove User Email

Remove User Email

On this page

GraphQL endpoint: /user

Removes an email address from the user's profile. Note: The primary email cannot be removed. You must first set a different email as primary before removing the current primary email.

Query

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

Variables

{
  "id": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "removeUserEmail": {
      "email": "test1@email.com",
      "id": "00000000-0000-4000-8000-000000000001",
      "types": [
        "OTHER"
      ]
    }
  }
}