> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tellscope.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Feedback

> Remove a feedback item from your organization

## Mutation

```graphql theme={null}
mutation {
  removeFeedbackItem(
    apiKey: String!
    id: String!
  ): Boolean!
}
```

## Parameters

<ParamField query="apiKey" type="string" required>
  Your Tellscope API key
</ParamField>

<ParamField query="id" type="string" required>
  The unique identifier of the feedback to delete
</ParamField>

## Response

Returns `true` if the feedback was successfully deleted.

<ResponseField name="removeFeedbackItem" type="boolean">
  `true` if deletion was successful
</ResponseField>

## Example

<CodeGroup>
  ```graphql Mutation theme={null}
  mutation {
    removeFeedbackItem(
      apiKey: "tellscp_sk_YOUR_API_KEY"
      id: "clx789ghi"
    )
  }
  ```

  ```json Response theme={null}
  {
    "data": {
      "removeFeedbackItem": true
    }
  }
  ```
</CodeGroup>

<CodeGroup>
  ```bash cURL theme={null}
  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\") }"
    }'
  ```

  ```javascript JavaScript theme={null}
  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"
          )
        }
      `
    })
  });
  ```
</CodeGroup>

## Error Responses

### Feedback Not Found

```json theme={null}
{
  "errors": [
    {
      "message": "Feedback not found",
      "extensions": {
        "code": "FORBIDDEN"
      }
    }
  ]
}
```

### Not Authorized

```json theme={null}
{
  "errors": [
    {
      "message": "Not authorized to delete this feedback",
      "extensions": {
        "code": "FORBIDDEN"
      }
    }
  ]
}
```

<Warning>
  Deleting feedback is permanent and cannot be undone. Make sure you have the correct ID before deleting.
</Warning>
