Skip to main content
POST
Redact all messages in a session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
sessionId
string
required

The session UUID whose messages will be redacted

Minimum string length: 1
reason
string

Optional reason for redaction

Response

Default Response

success
boolean
required
message
string
required
itemId
string
required
redactionType
enum<string>
required
Available options:
message,
session
affectedCount
number
required
messagesRedacted
number
required