Pistis
API referenceMessages

Withdraw a waiting message

DELETE
/sessions/{id}/pending/{sid}

Drops one message a turn has not taken yet. Withdrawing it twice is fine.

Authorization

bearer
headerAuthorizationBearer <token>

An API token

Path Parameters

id*string

A session id

sid*string

A submission id

Response Body

Withdrawn

Example Request
curl -X DELETE 'http://127.0.0.1:7777/sessions/ses_6c1f2a0b9d3e4f5a6b7c/pending/sub_1'
Example Response
Empty