Skip to main content
POST
/
distributions
/
{distributionID}
/
origins
Create Origins
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"
  }
]
'
{}

Authorizations

X-API-Key
string
header
required

Path Parameters

distributionID
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

The response is of type object.