Skip to main content
POST
Create Distribution

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required

A human-readable name for the CDN distribution.

domain_type
enum<string>
required

The type of domain: custom (user-provided CNAME) or shared.

Available options:
system,
custom
cname
string
required

The custom domain that clients will use (e.g., cdn.example.com).

cache_strategy
string
required

Strategy for caching: vod, live, or static.

host_header
string
required

Host header to send to the origin server.

origin
object
required

Configuration for the origin server.

Response

200 - application/json

The response is of type object.