POST
/
redaction
/
message
Redact a specific message
curl --request POST \
  --url https://api.open.cx/redaction/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messageId": "123e4567-e89b-12d3-a456-426614174000",
  "reason": "Contains sensitive customer information"
}'
{
  "success": true,
  "message": "Message successfully redacted",
  "itemId": "123e4567-e89b-12d3-a456-426614174000",
  "redactionType": "message",
  "affectedCount": 1
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Message has been redacted successfully.

The response is of type object.