대화 삭제
지정한 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."
}