Skip to main content
DELETE
/
v2
/
workspaces
/
{workspace_id}
/
sessions
/
{session_id}
Delete Session
curl --request DELETE \
  --url http://localhost:8000/v2/workspaces/{workspace_id}/sessions/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace

session_id
string
required

ID of the session to delete

Response

Successful Response