Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /v1/sessions/{session_id}
Session とその関連イベントデータをすべて永続的に削除します。この操作は取り消せません。
パスパラメータ
| パラメータ | 型 | 説明 |
|---|
session_id | string | Session ID(sess_ プレフィックス) |
ヘッダー
| 名称 | 必須 | 値 |
|---|
| Authorization | はい | Bearer $QODER_PAT |
リクエスト例
curl -X DELETE https://openapi.qoder.sh/api/v1/cloud/sessions/sess_019e3bb1e8c171fd9abbb1477ffb84cc \
-H "Authorization: Bearer $QODER_PAT"
レスポンス例
HTTP 200 OK
削除確認オブジェクトを返します。
{
"id": "sess_019e3bb1e8c171fd9abbb1477ffb84cc",
"type": "session",
"deleted": true
}
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|
id | string | 削除された Session ID |
type | string | 固定値 "session" |
deleted | boolean | 固定値 true、削除成功を表す |
エラーレスポンス
| HTTP | type | 説明 |
|---|
| 401 | authentication_error | PAT が無効または期限切れ |
| 404 | not_found_error | Session が存在しない |