---
title: "Delete a previously generated response."
method: DELETE
path: "/v1/responses/{response_id}"
tags: ["v1"]
---

# Delete a previously generated response.

`DELETE /v1/responses/{response_id}`

## Path parameters

- `response_id` string, required

## Response `200`

Success

- DeleteStoredCompletionResponse — Response to delete a stored completion.
  - `deleted` boolean, required — Whether the response was successfully deleted.
  - `id` string, required — The response_id to be deleted.
  - `object` string, required — The deleted object type, which is always `response`.

## Other responses

- `400` — Bad request. The request is invalid or an invalid API key is provided.
- `404` — Not found. No responses could be found with the given response_id.

---

[API](https://skmtc.net/x/apis/xai-s-rest-api.md) · [All operations](https://skmtc.net/x/apis/xai-s-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/x/xai-s-rest-api/versions/8f6014272113/schema)
