Skip to main content
POST
/
cloudflare
/
zones
/
{zoneId}
/
dns
/
create-record
Create DNS record
curl --request POST \
  --url https://nimbussuite.com/api/v1/cloudflare/zones/{zoneId}/dns/create-record \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "keyId": "<string>",
  "type": "A",
  "name": "<string>",
  "content": "<string>",
  "ttl": 123,
  "proxied": true
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

zoneId
string
required

Body

application/json
keyId
string
required
type
enum<string>
required
Available options:
A,
AAAA,
CAA,
CERT,
CNAME,
DNSKEY,
DS,
HTTPS,
LOC,
MX,
NAPTR,
NS,
PTR,
SMIMEA,
SRV,
SSHFP,
SVCB,
TLSA,
TXT,
URI
name
string
required
content
string
required
ttl
number
proxied
boolean

Response

DNS record created

The response is of type object.