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
/v2/RegulatoryCompliance/SupportingDocuments/{Sid}
curl \
--request POST 'https://numbers.twilio.com/v2/RegulatoryCompliance/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://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocuments/RDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "type",
"errors": null,
"status": "draft",
"mime_type": "mime_type",
"attributes": {
"last_name": "bar",
"first_name": "foo"
},
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2019-07-31T02:11:52Z",
"date_updated": "2019-07-31T02:11:52Z",
"friendly_name": "friendly_name",
"failure_reason": null
}