Generate a TLS Certificate for a Record

Use this API call to generate a TLS certificate for a record.

Requires the dns-manage permission.

Returns

Returns a task descriptor object, otherwise returns an Error.

POST /v1/dns/zones/{ID}/records/{ID}/tasks

Example Request
$ curl https://api.cycle.io/v1/dns/zones/5cb964ed4fde4d0001d05cc7/records/6e43de0a78ecdb000129b8ec/tasks \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-HUB-ID: HUB_ID"
\
-H "Content-Type: application/json" \
-d '{"action":"cert.generate"}' \
-X POST
Example Response
{
"data": {
"action": "cert.generate",
"job_id": "5d01b9b3db2ab00001508cd8"
}
}