Mutation
mutation DeleteNotification($input: DeleteNotificationInput!) {
deleteNotification(input: $input) {
deletedFiles
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deleteNotification": {
"deletedFiles": 1,
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Mutations
deleteNotification
Deletes a single notification from the signed-in user’s feed, along with the task it points at and the task’s files. Only notifications whose task is completed, failed, or cancelled can be deleted.
MUTATION
deleteNotification(input: DeleteNotificationInput!): DeleteNotificationPayload!Arguments
input
required
Returns
deletedFiles
Int
Number of files deleted.
errors
Mutation
mutation DeleteNotification($input: DeleteNotificationInput!) {
deleteNotification(input: $input) {
deletedFiles
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deleteNotification": {
"deletedFiles": 1,
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Was this page helpful?