Skip to main content
PUT
/
distributions
/
{distributionID}
Update A Distribution
curl --request PUT \
  --url https://api.tenbyte.com/v1/distributions/{distributionID} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "Tenbyte CDN",
  "domain_type": "custom",
  "cname": "cdn.tenbyte.com.my",
  "cache_strategy": "vod",
  "host_header": "cdn.tenbyte.com.my",
  "origin": {
    "name": "tenbyte-origin",
    "type": "http",
    "url": "https://tenbyte.com.my"
  }
}
'
{}

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.