Deletes a model response with the given ID.

DELETE /responses/{response_id}

Path parameters

  • response_id string Required

    The ID of the response to delete.

Responses

  • 200

    OK

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • code string | null Required
    • message string Required
    • param string | null Required
    • type string Required
DELETE /responses/{response_id}
curl \
 --request DELETE 'https://api.openai.com/v1/responses/resp_677efb5139a88190b512bc3fef8e535d' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
  "code": "string",
  "message": "string",
  "param": "string",
  "type": "string"
}