メインコンテンツへスキップ

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_idstringSession 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
}

レスポンスフィールド

フィールド説明
idstring削除された Session ID
typestring固定値 "session"
deletedboolean固定値 true、削除成功を表す

エラーレスポンス

HTTPtype説明
401authentication_errorPAT が無効または期限切れ
404not_found_errorSession が存在しない