Skip to main content

Dnsimple/templates

@webframp/dnsimple/templatesv2026.11.03.4· Apache-2.0· 17d agoBEHAVIORS
01README

DNSimple Templates — record templates and applying them to domains

02Release Notes

2026.11.03.4

Changed: Bump zod 4.6.5 → 4.6.7

2026.11.03.3

Fixed: a result named from two path values, such as a record under a template, could share a name with a result named from one value. Those names now end in a 16-character hash, for example 12-34-. Results stored under the old name stay where they are and are not updated.

Changed: the bundled API helper gained a function that reports truncation for single-request lists. No method in this extension uses it, so nothing else behaves differently.

03Behaviors1
@webframp/dnsimple/templatesv2026.11.03.4dnsimple/templates.ts

Global Arguments

ArgumentTypeDescription
apiToken?stringDNSimple API access token (account or user token). Wire it with ${{ vault.get("dnsimple", "ACCESS_TOKEN") }}; never pass the literal value. The DNSIMPLE_TOKEN environment variable is read as a fallback, but it is not redacted and is not recommended.
accountId?stringNumeric DNSimple account ID that account-scoped paths use. The account model's whoami method returns it.
environment?enumDNSimple API environment. The sandbox has its own accounts and tokens.
fn list_templates(sort?: enum)
List templates
ArgumentTypeDescription
sort?enumSort results. Default sorting is by id ascending.
fn create_template(sid: string, name: string, description?: string)
Create a template
ArgumentTypeDescription
sidstring
namestring
description?string
fn get_template(template: string)
Retrieve a template
ArgumentTypeDescription
templatestringThe template id or short name
fn update_template(template: string, sid?: string, name?: string, description?: string)
Update a template
ArgumentTypeDescription
templatestringThe template id or short name
sid?string
name?string
description?string
fn delete_template(template: string)
Delete a template
ArgumentTypeDescription
templatestringThe template id or short name
fn list_template_records(template: string, sort?: enum)
List template records
ArgumentTypeDescription
templatestringThe template id or short name
sort?enumSort results. Default sorting is by id ascending.
fn create_template_record(template: string, name: string, type: string, content: string, ttl?: number, priority?: number)
Create a template record
ArgumentTypeDescription
templatestringThe template id or short name
namestring
typestring
contentstring
ttl?number
priority?number
fn get_template_record(template: string, templaterecord: union)
Retrieve a template record
ArgumentTypeDescription
templatestringThe template id or short name
templaterecordunionThe template record id
fn delete_template_record(template: string, templaterecord: union)
Delete a template record
ArgumentTypeDescription
templatestringThe template id or short name
templaterecordunionThe template record id
fn apply_template_to_domain(domain: string, template: string)
Apply a template
ArgumentTypeDescription
domainstringThe domain name or id
templatestringThe template id or short name

Resources

templates(infinite)— List templates
template(infinite)— Create a template
template_records(infinite)— List template records
template_record(infinite)— Create a template record
apply_template_to_domain(infinite)— Apply a template
04Previous Versions1
2026.11.03.3Apache-2.0

2026.11.03.3

Fixed: a result named from two path values, such as a record under a template, could share a name with a result named from one value. Those names now end in a 16-character hash, for example 12-34-. Results stored under the old name stay where they are and are not updated.

Changed: the bundled API helper gained a function that reports truncation for single-request lists. No method in this extension uses it, so nothing else behaves differently.

05Stats
A
100 / 100
Downloads
4
Archive size
21.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels