--- title: companyLocationsDelete - GraphQL Admin description: Deletes a list of company locations. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companylocationsdelete md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companylocationsdelete.md --- # company​Locations​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 list of company locations. ## Arguments * company​Location​Ids [\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required A list of IDs of company locations to delete. *** ## Company​Locations​Delete​Payload returns * deleted​Company​Location​Ids [\[ID!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) A list of IDs of the deleted company locations. * 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 * ### companyLocationsDelete reference ## Mutation Reference ```graphql mutation companyLocationsDelete($companyLocationIds: [ID!]!) { companyLocationsDelete(companyLocationIds: $companyLocationIds) { deletedCompanyLocationIds userErrors { field message } } } ``` ## Input ##### Variables ```json { "companyLocationIds": [ "gid://shopify//10079785100" ] } ```