Mutation
mutation {
removeFeedbackItem(
apiKey: String!
id: String!
): Boolean!
}
Parameters
The unique identifier of the feedback to delete
Response
Returns true if the feedback was successfully deleted.
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.