Skip to content
MCPProductDomains and accessDomain

Domain programs: transfer, verify

The Domain Verbs transfer, verify as MCP do programs, with inputs, result, refusals and an example.

Reference for Domain, one group of Domain programs.

Domain.transfer

Transfer moves a Domain’s registration to another holder or registrar, with its records intact. Verb page.

Text
do: return await $.Domain.transfer(input)

Emits Domain.transferred.

Inputs

InputTypeRequiredDescription
domainDomainrequiredThe Domain to move.
tostringrequiredThe receiving holder or registrar.
kindstringrequiredin from another registrar, registrant to a new owner, push between accounts, or out to leave.
codeSecretThe transfer code, for in and out.

Returns

OutputTypeRequiredDescription
domainDomainrequiredThe transferred Domain.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.
The record is not in a state that allows this Verb, so the call is refused.refusedRead the record, run the Verb that moves it to an allowed state, then retry.None.
Before transferableAtrefusedClear what the check names, then call it again.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Domain.transfer({ domain: 'domain_VbYut4CTsH', to: 'Example to', kind: 'in' })"
  }
}

Domain.verify

Verify checks a Domain’s DNS, ownership and certificate again and records each result, with the fix for any failure. Verb page.

Text
do: return await $.Domain.verify(input)

Emits Domain.verified.

Inputs

InputTypeRequiredDescription
domainDomainrequiredThe Domain to check.

Returns

OutputTypeRequiredDescription
checksjsonrequiredEach check with its status and, on failure, its reason and fix.
domainDomainrequiredThe Domain with its state after the checks.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Domain.verify({ domain: 'domain_VbYut4CTsH' })"
  }
}