--- title: companyDelete - GraphQL Admin description: Deletes a 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/companyDelete md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyDelete.md --- # company​Delete mutation Requires `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. Deletes a company. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the company to delete. *** ## Company​Delete​Payload returns * deleted​Company​Id [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) The ID of the deleted company. * 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 * ### companyDelete reference ## Mutation Reference ```graphql mutation companyDelete($id: ID!) { companyDelete(id: $id) { deletedCompanyId userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100" } ```