Mutation
mutation DeleteSourceEntries($input: DeleteSourceEntriesInput!) {
deleteSourceEntries(input: $input) {
receipt {
id
}
}
}Variables
{
"input": {
"entryIds": [
"string"
],
"sourceId": "string"
}
}Response
{
"data": {
"deleteSourceEntries": {
"receipt": {
"id": "value"
}
}
}
}Mutations
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
required
Returns
receipt
Mutation
mutation DeleteSourceEntries($input: DeleteSourceEntriesInput!) {
deleteSourceEntries(input: $input) {
receipt {
id
}
}
}Variables
{
"input": {
"entryIds": [
"string"
],
"sourceId": "string"
}
}Response
{
"data": {
"deleteSourceEntries": {
"receipt": {
"id": "value"
}
}
}
}Was this page helpful?