Edit CDN Video Push 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":"video.mycompany.com","origin_storage_id":2}}'

Options

OptionData TypeDescriptionExample
IDintegerIndicates the CDN service ID.5
service_domainstringSpecify the domain name for customized streaming CDN URLs.video.mycompany.com
origin_storage_idintegerSpecify the integer ID of the Origin Storage. It is the source of origin content for the CDN service.2
location_idsarraySpecify the integer ID(s) of subscribed CDN Locations.[1, 2]

Contact Us

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