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
Option | Data Type | Description | Example |
---|
ID | integer | Indicates the CDN service ID. | 5 |
service_domain | string | Specify the domain name for customized streaming CDN URLs. | video.mycompany.com |
origin_domain | string | The domain name from which the CDN service requests its content. | www.mycompany.com |
location_ids | array | Specify the integer ID(s) of subscribed CDN Locations. | [1, 2] |