# Delete company contact

Source: https://developer.avalara.com/products/returns/integration-guides/managed-returns/qxi2017906459818/

Guide: Avalara Managed Returns API (U.S. and Canada)

# Delete company contact

Remove a company contact permanently to maintain accurate and current records.

Delete an existing contact from a company. This action permanently removes a previously created contact.

## Common use cases

The following use cases describe common scenarios in which you need to delete a contact:

-   Remove contacts when an employee leaves the organization.

-   Clean up duplicate or test contact records.

-   Remove contacts who are no longer involved in tax operations.

-   Maintain an accurate and current contact list.

To delete a company contact, use the `deleteContact` mutation.

## View request

```
mutation DeleteContact {
  deleteContact(
    companyId: 12345
    contactId: 789
  ) {
    success
    message
  }
}
```

## View response

```
{
  "data": {
    "DeleteContact": {
      "success": true,
      "message": "Contact deleted successfully"
    }
  }
}
```

The contact information is deleted for the specified company.