curl --request POST \
--url https://api.tenbyte.com/v1/distributions/{distributionID}/origins \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
[
{
"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"
}
]
'