await domain.verify({ service: "google", code: "abc123" });
// { service: "google",
// record: { type: "TXT", name: "example.com", content: "google-site-verification=abc123" },
// verified: null, next: "Go back to the service and start its check." }
await domain.verifications();
// { services: [...], verifications: [{ service, label, content }] }domain.verify(service="google", code="abc123")
# {"service": "google",
# "record": {"type": "TXT", "name": "example.com", "content": "google-site-verification=abc123"},
# "verified": None, "next": "Go back to the service and start its check."}
domain.verifications()
# {"services": [...], "verifications": [{"service", "label", "content"}]}servicestringrequiredThe service asking. other takes any name/value pair.
codestringrequiredWhat the service gave you, with or without its prefix.
namestringoptionalA name under the zone, when the service asks for one.
Pasted with another service's prefix, it is refused
A code pasted bare gets its prefix. A code carrying someone else's is answered with verification_code_mismatch rather than rewritten — rewriting it would quietly post one service's proof under another's name.
verified stays null on purpose
We pose the record; the service decides when it checks, and it does not tell us. A true written here would be a guess.