JavaScript SDK: swarmhit.managedDomains.check(managedDomainId)
Look at an own domain again now, e.g. right after changing its nameservers: the next check runs within a minute. A failed domain is sent back to work from where it stopped. Returns the domain as it is now. 409 not-own-domain for a domain bought here.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/managed-domains/string/check"{ "data": { "id": "string", "name": "string", "workspaceId": "string", "workspaceName": "string", "platform": "google", "live": 0, "pending": 0, "slotsLeft": 0, "canAdd": true, "reason": "full", "adminEmail": "string", "takenEmails": [ "string" ], "source": "purchased", "connection": { "state": "nameservers", "stateLabel": "string", "nameservers": [ "string" ], "currentNameservers": [ "string" ], "nameserversChangedAt": "2019-08-24T14:15:22Z", "websiteRecords": [ { "type": "A", "host": "@", "value": "string" } ], "websiteRecordsCopied": true, "dnssec": true, "checkedAt": "2019-08-24T14:15:22Z", "readyAt": "2019-08-24T14:15:22Z", "movedAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "registrarExpiresAt": "2019-08-24T14:15:22Z" }, "emailVerification": { "status": "pending", "deadline": "2019-08-24T14:15:22Z" } }}