Skip to main content

Delete session PII

DELETE 

/api/v1/:environment/sessions/:sessionId

Permanently deletes the PII data blocks belonging to a specific session, ahead of the automated retention period. Only the session's PII data blocks are removed — the session record and its non-PII metadata remain intact and queryable. This is a distinct, on-demand mechanism separate from Studio's manual deletion feature, though both share the same underlying deletion logic. This endpoint is idempotent: if the session's PII was already deleted, the original deletion result is returned rather than an error.

Request

Responses

Session's PII successfully deleted