Skip to main content
POST
Add aliases in bulk

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Body

application/json
resource_id
integer
required

ID of the CDN resource whose settings the aliases are served with.

Example:

4567

items
object[]
required

Aliases to create.

Required array length: 1 - 1000 elements

Response

Successful.

created
object[]

Aliases created by this request.

exists
object[]

Items whose hostname was already an alias of the CDN resource. Nothing was changed for them.