domain-flags

Update domain flags

Update one or more flags for the specified domain. Use this to toggle transfer lock, auto-renew, WHOIS privacy, and other domain settings. Use $preview=true to validate without applying changes.

patch/domains/{name}/flags

Path parameters

namestring required

Query parameters

$previewboolean required

Request body

Response

Flag update operation created

@type'unstoppabledomains.com/partner.v3.DomainFlagOperationResult' 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

Changed in 2 of the 26 revisions of this API.136

  • 64f751be432d15See the full diff
    • added the new DOMAIN_ADMIN_DNS_ZONE_MIGRATE enum value to the operation/type response property for the response status 200

      response-property-enum-value-added

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • acf7620da368121See the full diff
    • added PlatformOperationDomainSetNameServers PlatformOperationDomainDnsSecuritySetDnssec PlatformOperationDomainDnsSecurityDeleteDnssec PlatformOperationDomainDnsSecurityUpdateZone to the operation/dependencies/items/ response property oneOf list for the response status 200

      response-property-one-of-added

    • removed the optional property operation/suggestionJobId from the response with the 200 status

      response-optional-property-removed

    • added the new DOMAIN_DNS_NAME_SERVER_UPDATE enum value to the operation/type response property for the response status 200

      response-property-enum-value-added

    • added DOMAIN_SET_NAMESERVERS DOMAIN_DNS_SECURITY_SET_DNSSEC DOMAIN_DNS_SECURITY_DELETE_DNSSEC DOMAIN_DNS_SECURITY_UPDATE_ZONE discriminator mapping keys to the operation/dependencies/items/ response property for the response status 200

      response-property-discriminator-mapping-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog