domain-contacts

Update domain contacts

Changed on

Update the contacts associated with the specified domain. You can update any combination of owner, admin, tech, and billing contacts. Use $preview=true to validate without applying changes.

patch/domains/{name}/dns/contacts

Request

Path parameters

namestring required

Query parameters

$previewboolean required

Request body

Example request

{
  "owner": {
    "id": "ct-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "phone": {
      "dialingPrefix": "+1"
    }
  },
  "admin": {
    "id": "ct-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "phone": {
      "dialingPrefix": "+1"
    }
  },
  "tech": {
    "id": "ct-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "phone": {
      "dialingPrefix": "+1"
    }
  },
  "billing": {
    "id": "ct-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "phone": {
      "dialingPrefix": "+1"
    }
  }
}

Response

Contact update operation created

@type'unstoppabledomains.com/partner.v3.DomainContactOperationResult' required

Example response

{
  "operation": {
    "id": "op-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "dependencies": [
      {
        "id": "plop_abc12345-1234-1234-1234-abc123456789",
        "parameters": {
          "owner": {
            "id": "con_abc12345-1234-1234-1234-abc123456789"
          },
          "contacts": {
            "admin": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            },
            "billing": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            },
            "tech": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            }
          },
          "period": 1
        }
      }
    ]
  }
}

Changes

    • breaking

      the request property const value true was added

    • breaking

      removed the enum value true of the request property ///

    • warning

      added the new DOMAIN_ADMIN_DNS_ZONE_MIGRATE enum value to the / response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      request property /// was restricted to a list of enum values

    • breaking

      added to the // response property oneOf list for the response status

    • warning

      removed the optional property / from the response with the status

    • warning

      added the new DOMAIN_DNS_NAME_SERVER_UPDATE enum value to the / response property for the response status

    • info

      added the new true enum value to the request property ///

    • info

      added DOMAIN_SET_NAMESERVERS DOMAIN_DNS_SECURITY_SET_DNSSEC DOMAIN_DNS_SECURITY_DELETE_DNSSEC DOMAIN_DNS_SECURITY_UPDATE_ZONE discriminator mapping keys to the // response property for the response status