Skip to main content
POST
Create a DNS record

Autorisations

Authorization
string
header
requis

API token (olab_…) created in Settings → API tokens or with orbitlab login.

En-têtes

X-OrbitLab-Org
string

Organization to act on (id or slug) for tokens that can access several organizations. Defaults to your first organization.

Paramètres de chemin

id
string
requis

Domain id.

Corps

application/json
type
enum<string>
requis

Record type.

Options disponibles:
A,
AAAA,
CNAME,
MX,
TXT,
NS,
SRV
value
string
requis

Record value.

subdomain
string

Name below the domain; "" or omitted for the apex.

ttl
integer

TTL in seconds (60–604800). Defaults to 3600.

priority
integer

MX priority.

Réponse

The created record.

The response is of type object.