mijn.host API
  1. DNS templates
mijn.host API
  • Getting started
    • Introduction
    • Base url
    • Authentication
    • Response codes
  • Domains
    • Domains
      • List domains
      • Get domain
      • Update domain
      • Cancel domain
      • Get DNS records
      • Update DNS records
      • Update single DNS record
      • Get auth code
      • Cancel domain deletion
    • Contacts
      • List profiles
      • Create profile
      • Update profile
      • Get profile
    • Nameservers
      • List profiles
      • Create profile
      • Update profile
      • Get profile
    • DNS templates
      • List templates
        GET
      • Create template
        POST
      • Update template
        PUT
      • Get template
        GET
    • Availability
      • Check domain availability
    • Order
      • Order domain
  1. DNS templates

List templates

GET
/domains/dns-templates
Retrieve a list of all DNS templates in your account.

Request

Authorization
Add parameter in header
API-Key
Example:
API-Key: ********************
Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mijn.host/api/v2/domains/dns-templates' \
--header 'Accept;' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-Key: <api-key>'

Responses

🟢200OK
application/json
Body

Example
{
    "status": 200,
    "status_description": "Request successful",
    "data": {
        "templates": [
            {
                "id": 1000,
                "alias": "my-dns-template",
                "default": true
            }
        ]
    }
}
🟠400Invalid input
Modified at 2024-06-27 08:18:24
Previous
Get profile
Next
Create template
Built with