SpyBara
Go Premium

resources/responses/methods/delete/index.md 2026-11-18 22:59 UTC to 2026-11-19 22:59 UTC

This page contains 0 additions and 18 deletions.

2026
Thu 19 22:59

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

Delete a model response

delete /responses/{response_id}

Deletes a model response with the given ID.

Path Parameters

  • response_id: string

    The ID of the response to delete.

Returns

  • id: string

  • deleted: boolean

  • object: "response.deleted" (default: "response.deleted")

    • "response.deleted"

Example

curl -X DELETE https://api.openai.com/v1/responses/resp_123 \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OPENAI_API_KEY"

Response example

{
  "id": "resp_123",
  "object": "response.deleted",
  "deleted": true
}