---
title: "Delete Answer"
method: POST
path: "/rest/api/v1/deleteanswer"
tags: ["Answers"]
---

# Delete Answer

`POST /rest/api/v1/deleteanswer`

Delete an existing user-generated Answer.

## Query parameters

- `locale` string

## Request body

- DeleteAnswerRequest
  - `id` integer, required — The opaque ID of the Answer.
  - `docId` string — Glean Document ID of the Answer. The Glean Document ID is supported for cases where the Answer ID isn't available. If both are available, using the Answer ID is preferred.

## Response `200`

OK

## Other responses

- `400` — Invalid request
- `401` — Not Authorized
- `429` — Too Many Requests

## Changes

- **2026-06-21** `b162fb37b3ad` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-06-20** `d1f1d35ae0f9` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-19** `f00aa572acd3` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-06-07** `ab886c377360` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-06** `c1a150309e52` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API

[Full history](https://skmtc.dev/gleanwork/apis/glean-api/changes/rest/api/v1/deleteanswer/post.md)

---

[API](https://skmtc.dev/gleanwork/apis/glean-api.md) · [All operations](https://skmtc.dev/gleanwork/apis/glean-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleanwork/glean-api/revisions/b162fb37b3ad/schema)
