会話削除
指定したAI会話を削除します。
HTTPリクエスト
DELETE /api/sonar/ai/conversations
cURL例
curl -H "Authorization: Bearer <API_KEY>" \
-X DELETE \
"https://HOSTNAME/api/sonar/ai/conversations?guids=a1b2c3d4-e5f6-7890-abcd-ef1234567890"
リクエストパラメータ
| キー | 必須 | 型 | 説明 | 備考 |
|---|---|---|---|---|
| guids | O | 文字列リスト | 会話識別子リスト | カンマ(,)区切りの会話識別子リスト |
正常応答
{
"failures": []
}
エラー応答
必須パラメータが不足している場合
HTTPステータスコード 400 応答
{
"error_code": "null-argument",
"error_msg": "guids should be not null"
}
識別子がGUID形式でない場合
HTTPステータスコード 400 応答
{
"error_code": "invalid-param-type",
"error_msg": "guids should be guid type."
}