Redact a specific message by message ID, including any attached images
cURL
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 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Message has been redacted successfully.
The response is of type object.
object
Was this page helpful?