Mutation
Parameters
string
required
Your Tellscope API key
string
required
The unique identifier of the feedback to delete
Response
Returnstrue if the feedback was successfully deleted.
boolean
true if deletion was successfulDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove a feedback item from your organization
mutation {
removeFeedbackItem(
apiKey: String!
id: String!
): Boolean!
}
true if the feedback was successfully deleted.
true if deletion was successfulmutation {
removeFeedbackItem(
apiKey: "tellscp_sk_YOUR_API_KEY"
id: "clx789ghi"
)
}
{
"data": {
"removeFeedbackItem": true
}
}
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\") }"
}'
const response = await fetch('https://api.tellscope.io/graphql', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
query: `
mutation {
removeFeedbackItem(
apiKey: "${process.env.TELLSCOPE_API_KEY}"
id: "clx789ghi"
)
}
`
})
});
{
"errors": [
{
"message": "Feedback not found",
"extensions": {
"code": "FORBIDDEN"
}
}
]
}
{
"errors": [
{
"message": "Not authorized to delete this feedback",
"extensions": {
"code": "FORBIDDEN"
}
}
]
}
