Replaces all bundle items in the target bundle
TODO: Resource-level docs
Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the source bundle (specified by the from_bundle_sid body param)
Path parameters
-
The unique string that identifies the Bundle where the item assignments are going to be replaced.
Body
-
The source bundle sid to copy the item assignments from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^BU[0-9a-fA-F]{32}$
.
POST /v2/RegulatoryCompliance/Bundles/{BundleSid}/ReplaceItems
curl \
-X POST https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/ReplaceItems \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FromBundleSid=string'
Request example
{
"FromBundleSid": "string"
}
Request examples
{
"FromBundleSid": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"email": "string",
"friendly_name": "string",
"regulation_sid": "string",
"sid": "string",
"status": "draft",
"status_callback": "https://example.com",
"valid_until": "2023-05-04T09:42:00+00:00"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"email": "string",
"friendly_name": "string",
"regulation_sid": "string",
"sid": "string",
"status": "draft",
"status_callback": "https://example.com",
"valid_until": "2024-05-04T09:42:00+00:00"
}