List domains
Returns a tenant’s custom domains: where each stands and the DNS records it needs.
/_luna/domains/{tenant}AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
tenants:readtenantstringrequiredThe tenant, by its full name.
The domains.
domainsDomainItem[]requiredShow propertiesHide properties
DomainItemnamestringrequiredThe domain, in lower case.
stateDomainStaterequiredWhere a domain stands.
pendingverifiedactivefailederrorstring | nullWhy it is not verified yet, or why Luna could not get its last certificate.
recordsDnsRecord[]requiredThe records to create. Either proves the domain yours. The CNAME also sends its requests to Luna. For a domain that cannot have a CNAME (an apex domain), create the TXT record and point its A records at the same addresses as the CNAME's target.
Show propertiesHide properties
DnsRecordtypestringrequiredCNAME or TXT.
namestringrequiredThe record's name.
valuestringrequiredWhat it holds.
purposestringrequiredtraffic for the record that sends requests to Luna, ownership for one that only proves the domain yours.
createdMsinteger<int64>requiredWhen it was added, in milliseconds since the epoch.
verifiedMsinteger<int64> | nullWhen its records were first found, in milliseconds since the epoch.
notAfterinteger<int64> | nullWhen its certificate runs out, in seconds since the epoch.
certificatestring | nullWhere its certificate came from: acme (Luna got it) or uploaded.
writablebooleanrequiredWhether this request's credentials can add, remove and verify the tenant's domains.
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.