mutation DeleteCardEntries($input: DeleteCardEntriesInput!) {
deleteCardEntries(input: $input) {
receipts {
id
sourceId
}
}
}{
"input": {
"definitionId": "string",
"entryIds": [
"string"
]
}
}{
"data": {
"deleteCardEntries": {
"receipts": [
{
"id": "value",
"sourceId": "string"
}
]
}
}
}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.
deleteCardEntries(input: DeleteCardEntriesInput!): DeleteCardEntriesPayload!Arguments
Returns
mutation DeleteCardEntries($input: DeleteCardEntriesInput!) {
deleteCardEntries(input: $input) {
receipts {
id
sourceId
}
}
}{
"input": {
"definitionId": "string",
"entryIds": [
"string"
]
}
}{
"data": {
"deleteCardEntries": {
"receipts": [
{
"id": "value",
"sourceId": "string"
}
]
}
}
}Was this page helpful?