--- title: companyRevokeMainContact - GraphQL Admin description: Revokes the main contact from the company. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyrevokemaincontact md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyrevokemaincontact.md --- # company​Revoke​Main​Contact mutation Requires `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. Revokes the main contact from the company. ## Arguments * company​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the company to revoke the main contact from. *** ## Company​Revoke​Main​Contact​Payload returns * company [Company](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company) The company from which the main contact is revoked. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### companyRevokeMainContact reference ## Mutation Reference ```graphql mutation companyRevokeMainContact($companyId: ID!) { companyRevokeMainContact(companyId: $companyId) { company { # Company fields } userErrors { field message } } } ``` ## Input ##### Variables ```json { "companyId": "gid://shopify//10079785100" } ```