Creates a new copy of a Bundle
TODO: Resource-level docs
Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle
Path parameters
-
The unique string that identifies the Bundle to be copied.
Body
-
FriendlyName string
The string that you assigned to describe the copied bundle.
POST /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
curl \
-X POST https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string'
Request example
{
"FriendlyName": "string"
}
Request examples
{
"FriendlyName": "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"
}