provider Api20100401Message POST /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
Update a Message resource (used to redact Message `body` text and to cancel not-yet-sent messages)
Update a Message resource (used to redact Message `body` text and to cancel not-yet-sent messages)
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to update.
string
Sid path required
The SID of the Message resource to be updated
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updatemessage
POST/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
Update a Message resource (used to redact Message `body` text and to cancel not-yet-sent messages)

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Message resources to update.

required

The SID of the Message resource to be updated

Input

The new `body` of the Message resource. To redact the text content of a Message, this parameter's value must be an empty string

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.updatemessage()