Skip to main content
POST
Cancel one active turn

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

threadId
string
required
turnId
string
required

Use a turn ID, or active for the open event-backed turn, latest for the most recent event-backed turn, or current for the open event-backed turn when one exists and the latest event-backed turn otherwise.

Response

The matching active turn was cancelled, or the target was already inactive.