> ## 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.

# deleteSourceEntries

> Deletes entries of one data source. The delete is stamped with the server's clock and unknown ids are ignored. Returns 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` for entry ids that are duplicates ignoring case or a payload over the tenant's import ceilings, `NOT_FOUND` for an unknown data source, `CONFLICT` while it's being purged, or `WRITE_FAILED` when the configuration lookup or the write fails. Deletes are idempotent, so a failed request can be sent again.



**mutation** `deleteSourceEntries(input: DeleteSourceEntriesInput!): DeleteSourceEntriesPayload!`

## Arguments

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

## Returns

`DeleteSourceEntriesPayload!`

**`receipt`**: `ImportReceipt`

## Examples

```graphql Mutation
mutation DeleteSourceEntries($input: DeleteSourceEntriesInput!) {
  deleteSourceEntries(input: $input) {
    receipt {
      id
    }
  }
}
```

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

```json Response
{
  "data": {
    "deleteSourceEntries": {
      "receipt": {
        "id": "value"
      }
    }
  }
}
```


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