Cancel a background response that is in progress.
POST/v1/responses/:response_id/cancel
Cancel a background response that is queued or in progress. Only responses created with background=true can be cancelled.
Request
Responses
- 200
- 400
- 404
- 409
- 429
- 500
- default
The updated response object with status 'cancelled'.
Bad Request
Response not found.
Conflict: Cannot cancel response (not a background response or already in terminal state).
Too Many Requests
Internal Server Error
Default Response