Skip to main content
DELETE
Erase a person's session recordings

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
full_access
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyBearerAuth

Path Parameters

app_id
string
required

ID of the app.

Maximum string length: 64
Pattern: ^[a-zA-Z0-9._-]+$

Query Parameters

user_email
string

The person's email, as they sign in to the app.

Maximum string length: 256
Pattern: ^[A-Za-z0-9._%+\-@]+$
user_id
string

The person's user ID, or the ID the app set with the recorder's setUserID.

Maximum string length: 256
Pattern: ^[^$\{\}\\\s]+$
from_ts
string<date-time>

Only recordings that started at or after this ISO 8601 UTC time.

to_ts
string<date-time>

Only recordings that started at or before this ISO 8601 UTC time.

Response

What was deleted.

deleted_sessions
integer
required

Recordings deleted.

Example:

3

deleted_chunks
integer
required

Stored event batches deleted.

Example:

41

deleted_share_tokens
integer
required

Share links deleted.

Example:

1

skipped_sessions
integer
required

Recordings that got new events while being erased; erase again to remove them.

Example:

0