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

Delete a model response

$ openai beta:responses delete
DELETE/responses/{response_id}

Deletes a model response with the given ID.

ParametersExpand Collapse
--response-id: string

The ID of the response to delete.

--beta: optional array of "responses_multi_agent=v1"

Optional beta features to enable for this request.

Delete a model response

openai beta:responses delete \
  --api-key 'My API Key' \
  --response-id resp_677efb5139a88190b512bc3fef8e535d
{
  "id": "resp_123",
  "object": "response.deleted",
  "deleted": true
}
Returns Examples
{
  "id": "resp_123",
  "object": "response.deleted",
  "deleted": true
}