UDomain CDN API exposes the CDN configuration ability via a standardized programmatic interface. Using UDomain CDN API, you can do most of the things you can in the CDN user panel.
In order to access the UDomain CDN API, you will need to obtain an API token in the CDN Control Panel first. To do this, login to your CDN user panel and click your user name on the top right corner, then choose Manage API KEY from the menu.
Once you obtained the API token, you can use the token to access UDomain CDN API.
To do this, simply place the API token in the HTTP request header, with Header Name "Authorization" and your token as the Header Value.
curl -i -H "Authorization: You API Token" -H "Content-Type: application/json"
Note that the "Content-Type" header must be correctly set to "application/json".