Skip to main content
POST
/
distributions
/
{distributionID}
/
purges
Create Purge
curl --request POST \
  --url https://api.tenbyte.io/v1/cdn/distributions/{distributionID}/purges \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paths": [
    "/img/city.jpg",
    "/img/*",
    "/path/*",
    "/static/*"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

distributionID
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

The response is of type object.