CDN

Generate a signed URL

post/cdn/zones/{zone_uuid}/token-auth/sign-url

Generate 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.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

zone_uuid*string

Cuerpo de la petición

Generate a signed URL for a Token Auth-enabled zone.

application/jsonObligatorio
path*string
Rango1 ≤ length ≤ 2048
expires_in?integer

Validity in seconds (60s..7d)

Rango60 ≤ value ≤ 604800Por defecto3600
client_ip?string | null

Required when the zone has token_auth_ip_binding enabled. The signature includes this IP.

Respuestas

Successful Response

application/json

detail*string
signed_url*string
token*string
expires*integer