> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteCardEntries

> Deletes card entries of one card definition. A card has no rows of its own: the source entries with those ids are deleted from every data source behind the card definition, so cards of other card definitions lose the values from those data sources and are deleted only when none of their own data sources still holds the entry. The delete is stamped with the server's clock and unknown ids are ignored. Returns one receipt per data source once the deletes are stored; related entries and destinations update asynchronously. The payload has no `errors` list; a failure comes back as a top-level GraphQL error whose `extensions.code` is one of: `BAD_USER_INPUT`, `NOT_FOUND` for an unknown card definition, `CONFLICT` while a data source is being purged or when the card definition has neither an active nor an updating property set, or `WRITE_FAILED`. Deletes are idempotent, so a failed request can be sent again.



**mutation** `deleteCardEntries(input: DeleteCardEntriesInput!): DeleteCardEntriesPayload!`

## Arguments

**`input`**: `DeleteCardEntriesInput!` (required)

## Returns

`DeleteCardEntriesPayload!`

**`receipts`**: `[SourceImportReceipt!]`

## Examples

```graphql Mutation
mutation DeleteCardEntries($input: DeleteCardEntriesInput!) {
  deleteCardEntries(input: $input) {
    receipts {
      id
      sourceId
    }
  }
}
```

```json Variables
{
  "input": {
    "definitionId": "string",
    "entryIds": [
      "string"
    ]
  }
}
```

```json Response
{
  "data": {
    "deleteCardEntries": {
      "receipts": [
        {
          "id": "value",
          "sourceId": "string"
        }
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.