WaveCDN API

Add a cname

Add a cname with the specified parameters to a given setup.
You can add up to 10 cnames per setup.

Request

POST https://api.wavecdn.com/v3/cname

Request content

The id of the setup for which a cname should be added.

setup_id={..}

The domain/cname that should be added.

domain={..}

Response

On success, the status code is 201 and the new cname is returned.

<?xml version="1.0" encoding="UTF-8"?>
<cname>
  <id>200</id>
  <setup_id>100</setup_id>
  <domain>domain.com</domain>
</cname>