đĢDeleting Sessions
This step shows how to delete a session from Perculus.
Below example shows the steps for deleting a session.
curl --location --request DELETE 'https://<DOMAIN>/xapi/session/<SESSION_ID>' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--data ''
from perculus_sdk.client import APIClient
# API client
client = APIClient()
...
# Delete session
client.sessions.delete_by_session_id("<SESSION_ID>")
import APIClient from "perculus-sdk"
// API client
const client = new APIClient()
...
// Update session
client.sessions.deleteSession("<SESSION_ID>")