With the new Replace Items resource, developers can now update their compliance information when Regulations change while continuing to provision new Phone Numbers before their compliance information is no longer valid. The Replace Items resource replaces a
twilio-approved Regulatory Bundle's Items with a
twilio-approved Bundle Copy. By replacing the old items with the newly approved Bundle Copy Items Assigned, you will not have to worry about reassigning any Phone Numbers or other potential dependencies that rely on the Bundle.
The field of the Bundle resource response is in JSON. The type SID<BU> is a unique ID starting with letters BU. For more information about Twilio SIDs, please refer to Twilio's glossary on SIDs.
sidtype: SID<BU>Not PII
The unique string that we created to identify the Bundle resource.
regulation_sidtype: SID<RN>Not PII
The unique string of a regulation that is associated to the Bundle resource.
friendly_nametype: stringNot PII
The string that you assigned to describe the resource.
statustype: enum<STRING>Not PII
The verification status of the Bundle resource.
valid_untiltype: string<DATE TIME>Not PII
The date and time in GMT in ISO 8601 format when the resource will be valid until.
emailtype: stringNot PII
The email address that will receive updates when the Bundle resource changes status.
status_callbacktype: string<URI>Not PII
The URL we call to inform your application of status changes.
date_createdtype: string<DATE TIME>Not PII
The date and time in GMT when the resource was created specified in ISO 8601 format.
The following statuses encompass the Bundle lifecycle.
|The user has created a new Bundle that can be edited with Supporting Documents and End-User objects assigned.
|When the user has finished the draft of the Bundle and submits to Twilio for review, the status moves from
|Twilio has moved the Bundle from
in-review. Once Twilio has finished review, the Bundle will go either to
|Twilio has reviewed the Bundle and has determined the Bundle does not meet the regulations.
|Twilio has reviewed the Bundle and has determined the Bundles does meet the regulations.
BundleSidtype: SID<BU>Not PII
The unique string that identifies the Bundle where the item assignments are going to be replaced.
FromBundleSidtype: SID<BU>Not PII
The source bundle sid to copy the item assignments from.
Only the create operation is available for the Replace Items resource as the operation is a one-time event. To perform the even again, a new Bundle Copy will need to be created and approved before the Replace Items operation event can be triggered. There is no
DELETE available for this resource.