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_sid
Path
POSTsid<AC>
Not PII The SID of the Account that created the Message resources to update.
body
Optional
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 stringstatus
Optional
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).