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
| 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_storage_id | integer | Specify the integer ID of the Origin Storage. It is the source of origin content for the CDN service. | 2 | 
| location_ids | array | Specify the integer ID(s) of subscribed CDN Locations. | [1, 2] |