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 'Status=draft&StatusCallback=http%3A%2F%2Fwww.example.com&FriendlyName=friendly_name&Email=email'
Request example
{"Status" => "draft", "StatusCallback" => "http://www.example.com", "FriendlyName" => "friendly_name", "Email" => "email"}
Response examples (200)
{
"sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"regulation_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"friendly_name": "friendly_name",
"status": "draft",
"email": "email",
"status_callback": "http://www.example.com",
"valid_until": null,
"date_created": "2019-07-30T22:29:24Z",
"date_updated": "2019-07-31T01:09:00Z",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"evaluations": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
"item_assignments": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ItemAssignments",
"bundle_copies": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Copies"
}
}