Skip to main content
Mutation

deleteContact

Moves a contact to the trash. Its project assignments stop giving its linked account access. It can be brought back with restoreContact. Requires membership of the space.

Arguments

  • idID!

    ID of the contact.

  • spaceIdID!

    ID of the space.

Returns

MutationSuccess!

Example

mutation DeleteContact($id: ID!, $spaceId: ID!) {
  deleteContact(id: $id, spaceId: $spaceId) {
    success
  }
}