API-Schlüssel abrufen
Domains

PUT /api/domains/:id/records

PUT https://api.iagenify.com/api/domains/ID/records

Referenz für PUT /api/domains/:id/records.

Authentifizierung erforderlichkein JSON-Anfragetext

HTTP-Anfrage

curl https://api.iagenify.com/api/domains/ID/records -X PUT -H "Authorization: Bearer $IAGENIFY_TOKEN"

JavaScript

const response = await fetch("https://api.iagenify.com/api/domains/ID/records", {
  method: "PUT",
  headers: { Authorization: `Bearer ${process.env.IAGENIFY_TOKEN}` }
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);

Python

import os
import requests

response = requests.request("PUT", "https://api.iagenify.com/api/domains/ID/records", headers={"Authorization": "Bearer " + os.environ["IAGENIFY_TOKEN"]}, timeout=30)
response.raise_for_status()
result = response.json()

Pfadparameter

idstringerforderlich

Wert für :id.

Antwort und Fehler

Bei Erfolg gibt der Endpunkt JSON zurück.