Delete Session

Deletes a session by ID

Headers

Path parameters

Request

DELETE
/session/{session_id}
fetch("https://nebula-api.thirdweb.com/session/{session_id}", {
method: "DELETE",
headers: {
"x-secret-key": "YOUR_THIRDWEB_SECRET_KEY",
},
});

Response

{
"result": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"deleted_at": "2025-01-08T19:27:37.296Z"
}
}