API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · dns_templates

DNS Template Schema

Schema-ID
dns_template
Collection
dns_templates
Permissions
  • Lezendns_template_view
  • Aanmakendns_template_create
  • Wijzigendns_template_edit
  • Verwijderendns_template_delete

Velden

DNS Template Schema

dns_templates4 permissions

Schema for DNS record templates (e.g. Microsoft 365, Google Workspace)

namestringvereist

Template name (e.g. "Microsoft 365")

1–200 tekens
descriptionstringvereist

Detailed description of what this template configures

1–2000 tekens
providerstringvereist

Service provider this template is for

microsoft365google_workspacezohoprotonmailmailcowcustom
categorystringvereist

Template category

emailhostingsecuritycustom
isSystembooleanvereist

Whether this is a system-provided template (read-only for tenants)

recordsobject[]vereist

DNS records that will be created when applying this template

typestringvereist

DNS record type (A, AAAA, CNAME, MX, TXT, etc.)

namestringvereist

Record name with optional placeholders (e.g. {{domain}})

max. 253 tekens
contentstringvereist

Record content with optional placeholders

max. 4096 tekens
ttlintegervereist

Time to live in seconds

60 – 86400
priorityintegeroptioneel

Priority for MX and SRV records

0 – 65535nullable
descriptionstringvereist

Description of what this record does

max. 500 tekens
variablesobject[]vereist

Variables that the user must provide when applying this template

keystringvereist

Variable key used in record placeholders (e.g. "verify_token")

1–50 tekens
labelstringvereist

Display label for the variable input

1–200 tekens
requiredbooleanvereist

Whether this variable must be provided

helpTextstringoptioneel

Help text explaining where to find this value

max. 500 tekensnullable
placeholderstringoptioneel

Example value shown as placeholder

max. 200 tekensnullable
validationstringoptioneel

Regex pattern for input validation

max. 200 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/dns_templates — Lijst, gepagineerd + filterbaar
  • GET /api/v1/dns_templates/<id> — Enkele entity
  • POST /api/v1/dns_templates — Aanmaken
  • PATCH /api/v1/dns_templates/<id> — Gedeeltelijke update
  • DELETE /api/v1/dns_templates/<id> — Soft-delete
  • GET /api/v1/dns_templates/<id>/timeline — Audit + activiteiten

Zoeken