Core GraphQL APIReferenceMutations
Identity__remove Customer
Deletes a customer for the current tenant. Requires a signed-in staff user. Needs the `identity__Customer` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
identity__removeCustomer(where: CommonFindDocumentDto!): Boolean!Deletes a customer for the current tenant. Requires a signed-in staff user. Needs the identity__Customer delete permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
identity__removeCustomer*Boolean!Example Request
mutation Identity__removeCustomer($where: CommonFindDocumentDto!) { identity__removeCustomer(where: $where)}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "identity__removeCustomer": true }}