Edit CDN Video 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_domain":"www.mycompany.com"}}'

Options

OptionData TypeDescriptionExample
IDintegerIndicates the CDN service ID.5
service_domainstringSpecify the domain name for customized streaming CDN URLs.video.mycompany.com
origin_domainstringThe domain name from which the CDN service requests its content.www.mycompany.com
location_idsarraySpecify the integer ID(s) of subscribed CDN Locations.[1, 2]

Contact Us

 ______      ___              
|      \\   / _ \\    ____    
|  --  //  | / \ ||  |    \\  
|  --  \\  | \_/ ||  | [] ||  
|______//   \___//   |  __//  
`------`    `---`    |_|`-`   
                     `-`