Skip to main content

Mutation

mutation {
  removeFeedbackItem(
    apiKey: String!
    id: String!
  ): Boolean!
}

Parameters

apiKey
string
required
Your Tellscope API key
id
string
required
The unique identifier of the feedback to delete

Response

Returns true if the feedback was successfully deleted.
removeFeedbackItem
boolean
true if deletion was successful

Example

mutation {
  removeFeedbackItem(
    apiKey: "tellscp_sk_YOUR_API_KEY"
    id: "clx789ghi"
  )
}
curl -X POST https://api.tellscope.io/graphql \
  -H "Content-Type: application/json" \
  -d '{
    "query": "mutation { removeFeedbackItem(apiKey: \"tellscp_sk_YOUR_API_KEY\", id: \"clx789ghi\") }"
  }'

Error Responses

Feedback Not Found

{
  "errors": [
    {
      "message": "Feedback not found",
      "extensions": {
        "code": "FORBIDDEN"
      }
    }
  ]
}

Not Authorized

{
  "errors": [
    {
      "message": "Not authorized to delete this feedback",
      "extensions": {
        "code": "FORBIDDEN"
      }
    }
  ]
}
Deleting feedback is permanent and cannot be undone. Make sure you have the correct ID before deleting.