Updates a Bundle in an account.
Updates a Bundle in an account.
Path parameters
-
The unique string that we created to identify the Bundle resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^BU[0-9a-fA-F]{32}$
.
Body
-
The verification status of the Bundle resource.
Values are
draft
,pending-review
,in-review
,twilio-rejected
,twilio-approved
, orprovisionally-approved
. -
The URL we call to inform your application of status changes.
-
The string that you assigned to describe the resource.
-
The email address that will receive updates when the Bundle resource changes status.
POST
/v2/RegulatoryCompliance/Bundles/{Sid}
curl \
--request POST 'https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Email=email&Status=draft&FriendlyName=friendly_name&StatusCallback=http%3A%2F%2Fwww.example.com'
Request example
{"Email"=>"email", "Status"=>"draft", "FriendlyName"=>"friendly_name", "StatusCallback"=>"http://www.example.com"}
Response examples (200)
{
"sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"email": "email",
"links": {
"evaluations": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
"bundle_copies": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Copies",
"item_assignments": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ItemAssignments"
},
"status": "draft",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"valid_until": null,
"date_created": "2019-07-30T22:29:24Z",
"date_updated": "2019-07-31T01:09:00Z",
"friendly_name": "friendly_name",
"regulation_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"status_callback": "http://www.example.com"
}