Update a Message resource
Updates the body of a Message resource. Send a POST request to a Message resource's URI containing the updated parameters.
This action is primarily used to redact Message content. To redact a Message resources'sBody, send a POST request to the Message resource's URI and set the Body parameter as an empty string: "". This redacts the Body of a message while keeping the other Message resource properties intact.Parameters
Parameters in REST API format
account_sidPath
POSTsid<AC> Not PII The SID of the Account that created the Message resources to update.
bodyOptional
POSTstring PII MTL: 30 DAYS The new
body of the Message resource. To redact the text content of a Message, this parameter's value must be an empty stringstatusOptional
POSTienum:update_status Not PII Set as
canceled to prevent a not-yet-sent Message from being sent. Can be used to cancel sending a scheduled Message (Messaging Services only).