Skip to main content
POST
/
distributions
/
{id}
/
headers
Https Headers
curl --request POST \
  --url https://api.tenbyte.io/v1/cdn/distributions/{id}/headers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "key": "Host11",
    "value": "www.cdn.com",
    "type": "request"
  },
  {
    "key": "Host12",
    "value": "www.cdn.com",
    "type": "response",
    "action": "remove"
  }
]
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

The response is of type object.