Delete a model response
DELETEhttps:/api.openai.com/v1/responses/{response_id}
Deletes a model response with the given ID.
Path parameters
response_id
string
Required
The ID of the response to delete.
Response
A success message.
Example request
1 curl -X DELETE https://api.openai.com/v1/responses/resp_123 \2 -H "Content-Type: application/json" \3 -H "Authorization: Bearer $OPENAI_API_KEY"
Example response
1 {2 "id": "resp_6786a1bec27481909a17d673315b29f6",3 "object": "response",4 "deleted": true5 }
Built with