CDN
Create Origin
/cdn/zones/{zone_uuid}/originsCreate a new origin for a CDN zone. You can provide a full origin_url (e.g., https://s3.example.com/bucket/) which will be automatically parsed. To serve one of your Object Storage buckets, pass object_storage_bucket_uuid instead of the connection fields: the origin is configured from the bucket and starts serving as soon as its access is ready.
Authorization
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Path parameters
Request body
Create a new CDN origin
1 ≤ length ≤ 100Full origin URL (e.g., https://s3.example.com/bucket-name/). If provided, extracts address, port, protocol, host_header, and base_path automatically.
length ≤ 500IP address or hostname
1 ≤ length ≤ 2551 ≤ value ≤ 65535"http""https"1 ≤ value ≤ 1000Default1001 ≤ value ≤ 100Default1falsetruelength ≤ 255Default"/health"trueCustom Host header to send to origin
length ≤ 255Base path prefix for origin requests (e.g., /bucket-name)
length ≤ 255trueSign requests with AWS SigV4 for private S3-compatible buckets
falseS3 access key ID
8 ≤ length ≤ 128S3 secret access key (write-only)
8 ≤ length ≤ 128S3 region (e.g. us-east-1, eu-central-1)
length ≤ 64AWS service name (almost always 's3')
length ≤ 32Default"s3"Serve one of your Object Storage buckets. Leave out every connection field (origin_url, address, port, protocol, host_header, base_path, verify_ssl, health checks, enabled and the s3_* fields): they are set from the bucket, and the origin starts serving once its access is ready.
length ≤ 36Responses
Successful Response
application/json