Cancels a model response with the given ID. Only responses created with
the `background` parameter set to `true` can be cancelled.
[Learn more](/docs/guides/background).
POST
/responses/{response_id}/cancel
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Responses
🟢200
application/json
OK
Bodyapplication/json
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/responses//cancel' \
--header'Authorization: Bearer <token>'