消息

从会话中删除指定消息

delete/messages/{session_id}/{id}

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/messages/{session_id}/{id}
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

session_idstring required

会话ID

idstring required

消息ID

Response

删除成功

messagestring
successboolean

Example response

{
  "success": true
}

Changes