Skip to main content
Mutation

clearContactAvatar

Removes a contact's avatar and returns the contact. Requires membership of the space.

Arguments

  • contactIdID!

    ID of the contact.

  • spaceIdID!

    ID of the space.

Returns

Contact!

Example

mutation ClearContactAvatar($contactId: ID!, $spaceId: ID!) {
  clearContactAvatar(contactId: $contactId, spaceId: $spaceId) {
    company
    createdAt
    deletedAt
    email
    firstName
    foodPreferences
    id
    lastName
  }
}