CDN
Generate a signed URL
post
/cdn/zones/{zone_uuid}/token-auth/sign-urlGenerate a valid signed URL for a Token Auth zone without implementing the signing yourself. Useful for testing and for backends that prefer to delegate signing.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Path parameters
zone_uuid*string
Request body
Generate a signed URL for a Token Auth-enabled zone.
application/jsonRequired
path*string
Range
1 ≤ length ≤ 2048expires_in?integer
Validity in seconds (60s..7d)
Range
60 ≤ value ≤ 604800Default3600client_ip?string | null
Required when the zone has token_auth_ip_binding enabled. The signature includes this IP.
Responses
Successful Response
application/json
detail*string
signed_url*string
token*string
expires*integer