cURL
curl --request POST \ --url https://api.example.com/teams/{team_id}/runs/{run_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "detail": "Bad request", "error_code": "BAD_REQUEST" }
Cancel a currently executing team run. This will attempt to stop the team’s execution gracefully.
Note: Cancellation may not be immediate for all operations.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Was this page helpful?