Update an existing Supporting Document.
Update an existing Supporting Document.
Path parameters
-
The unique string created by Twilio to identify the Supporting Document resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^RD[0-9a-fA-F]{32}$
.
POST
/v1/SupportingDocuments/{Sid}
curl \
--request POST 'https://trusthub.twilio.com/v1/SupportingDocuments/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Attributes=%7B%7D&FriendlyName=friendly_name'
Request example
{"Attributes"=>"{}", "FriendlyName"=>"friendly_name"}
Response examples (200)
{
"sid": "RDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/SupportingDocuments/RDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "customer_profile_address",
"status": "DRAFT",
"mime_type": null,
"attributes": {
"address_sids": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2021-02-11T17:23:00Z",
"date_updated": "2021-02-11T17:23:00Z",
"friendly_name": "friendly_name"
}