sessions
Delete persistent session
Permanently delete a persistent agent session and its event history. When both app_name and user_id are non-empty, only that exact session is deleted. Otherwise, every non-internal session with this session ID in the environment is deleted.
Required permission: sessions.manage.
delete/v1/projects/{project_id}/sessions/{environment_id}/{session_id}
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
project_id, string uuid required
ID of the project the API key belongs to.
environment_id, string uuid required
Environment ID from GET /environments.
session_id, string required
Session ID from GET /sessions/{environment_id}.
Query parameters
app_name, string nullable
Agent application name. Used for exact targeting only when it and user_id are both non-empty.
user_id, string nullable
Agent user identity. Used for exact targeting only when it and app_name are both non-empty.
Response
Successful Response
Public Ok Response required
ok, boolean required
Whether the operation succeeded.
Changes
No recorded changes to this operation across all 17 revisions of this API.