Async Messages
Delete Async Chat Stream
Delete an asynchronous chat stream and clean up all associated resources.
This endpoint permanently removes a chat stream from storage and cleans up all associated resources including:
- Stream metadata and status information
- Cached events and message content
- Task references and cancellation tokens
Notes:
- Stream must exist to be deleted (returns 404 otherwise)
- Active streams are automatically cancelled before deletion
- No response body returned on successful deletion (204 status)
- Use status endpoint to verify deletion if needed
delete/v1/messages/async/{message_id}/delete
Path parameters
message_idstring required
Message ID of the asynchronous chat stream to delete.
Example:custom_msg_12345
Message ID of the asynchronous chat stream to delete.
Response
Successful Response
{"stackTrail":"paths:/v1/messages/async/{message_id}/delete:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}