curl --location --request POST 'https://api-staging.tenbyte.io/v1/distributions/348bb09d-0eca-482c-a9a4-74741afa9d01/origins' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
// {
// "bucket": "tenbyte-vod-filkkkk",
// "region": "ap-southeast-1ww",
// "access_key": "AKIA*********^&^&",
// "secret_key": "***************",
// "name": "tenbyte-origin-10",
// "type": "custom",
// "endpoint": "https://s3.ap66-southeast-1.amazonaws.re",
// "id": "4923cdaa-5c38-46d1-b525-e2aad01d231d"
// }
// {
// "bucket": "tenbyte-vod-filkkkk",
// "region": "ap-southeast-1ww",
// "access_key": "AKIA*********^&^&",
// "secret_key": "***************",
// "name": "tenbyte-origin-10",
// "type": "custom",
// "endpoint": "https://s3.ap66-southeast-1.amazonaws.comsss"
// },
{
"bucket": "tenbyte-vod-files",
"region": "tenbyte-origin-416-1",
"access_key": "AKIA************99",
"secret_key": "***************",
"name": "tenbyte-origin-416-1",
"type": "custom",
"endpoint": "https://domain.com"
}
]'