Skip to main content
Version: 2.0

Delete a turn

DELETE 

/v2/chats/:chat_id/turns/:turn_id

Delete a turn from a chat. This will delete all subsequent turns in the chat.

Request

Path Parameters

    chat_id stringrequired

    Possible values: Value must match regular expression cht_.+$

    The ID of the chat.

    turn_id stringrequired

    Possible values: Value must match regular expression trn_.+$

    The ID of the turn.

Header Parameters

    Request-Timeout integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified seconds or time out.

    Request-Timeout-Millis integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified milliseconds or time out.

Responses

Successfully deleted a turn.

Loading...