DELETE
/
sessions
/
delete
/
{id}
curl --request DELETE \
  --url https://api.duohub.ai/sessions/delete/{id} \
  --header 'X-API-Key: <api-key>'
{
  "status": "success",
  "message": "Session deleted successfully"
}

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Path Parameters

id
string
required

ID of the session to delete

Response

200
application/json
Session deleted successfully
status
enum<string>
required
Available options:
success
message
string
required

Success message