Login

Add template

HTTP method

POST

URL

https://api.zilore.com/dns/v1/templates

Request parameters

Parameter

Description

custom_template_name

Template name: up to 100 characters, may not include special characters apart from . _ and -

Additional parameters

Parameter

Description

custom_template_description

Extended description of template, up to 500 characters

Response fields

Parameter

Description

custom_template_id

Identifier of new template

Request example

POST https://api.zilore.com/dns/v1/templates
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0
Content-Type: application/x-www-form-urlencoded

custom_template_name=sample

Response example

{
"status": "ok",
"response": {
"custom_template_status": "Custom template created",
"custom_template_id": 198
}
}