Edit CDN Live service

URL

https://cdnsun.com/api/cdns/ID

Method

PUT

Curl example

curl -i -X PUT -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns/ID' -d '{"cdn":{"service_domain":"live.mycompany.com"}}'

Options

OptionData TypeDescriptionExample
IDintegerIndicates the CDN service ID.5
service_domainstringSpecify the domain name for customized streaming CDN URLs.live.mycompany.com
origin_pop_idintegerSpecify the integer ID of the Origin PoP for Push publishing.5
failover_origin_pop_idintegerSpecify the integer ID of the Failover Origin PoP for Push publishing.10
origin_urlstringSpecify the origin RTMP URL for Pull publishing.rtmp://www.mycompany.com/live-stream/
failover_origin_urlstringSpecify the failover origin RTMP URL for Pull publishing.rtmp://backup.mycompany.com/live-stream/
location_idsarraySpecify the integer ID(s) of subscribed CDN Locations.[1, 2]

Contact Us

  ______   __   __   _    _   
 /_____//  \ \\/ // | |  | || 
 `____ `    \ ` //  | |/\| || 
 /___//      | ||   |  /\  || 
 `__ `       |_||   |_// \_|| 
 /_//        `-`'   `-`   `-` 
 `-`