# companyLocationRevokeRoles - admin-graphql - MUTATION Version: 2024-10 ## Description Revokes roles on a company location. ### Access Scopes `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. ## Arguments * [companyLocationId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The location whose roles are being revoked. * [rolesToRevoke](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The current roles to revoke. ## Returns * [revokedRoleAssignmentIds](/docs/api/admin-graphql/2024-10/scalars/ID): ID A list of role assignment IDs that were removed from the company location. * [userErrors](/docs/api/admin-graphql/2024-10/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation. ## Examples