---
updatedAt: 2026-02-18T19:18:33.000Z
agentTools:
  projectIndex: https://domains.opensrs.guide/llms.txt
---

# modify (domain)

Changes information associated with a domain, such as contact info. The action request message is different depending on the type of modification being made, and is shown separately for each type.

This command also allows you to set an **auto-renew** flag for the domain from which you logged in. If you are using the **affected_domains** option, you can set the renewal action flags for all domains in the user's profile.

## Request parameters

#### Standard request parameters

* **action** = modify
* **object** = domain
* **registrant\_ip** = valid IP address of the registrant (optional)

### Request attributes

Parameters within the **attributes** associative array are described below.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        affect_domains
      </td>

      <td>
        Required
      </td>

      <td>
        Flag indicating the domains to which to apply the change.

        * *0**—Change applies only to the specified domain.
        * *1**—Change applies to all domains linked to this profile.
      </td>
    </tr>

    <tr>
      <td>
        data
      </td>

      <td>
        Required
      </td>

      <td>
        Type of data.

        Allowed values are:

        * *ca_whois_display_setting**—For changes to the CIRA Whois Privacy setting for .CA domains. Only allowed for individual registrants, including Canadian citizens, Permanent residents, Legal representatives, and Aboriginal peoples.

        * *change_ips_tag**— For transfers of .UK domains between registrars. The  
          domain's **IPS** tag must be changed to that of the gaining registrar in order to transfer a .UK domain.\

        * *cira_registrant**—Used to change the owner of a .CA domain.**Warning**: When you include the

        * *cira_registrant** parameter, you transfer the ownership of a domain to the specified contact.

        * *contact_info**— For contact information changes.

        * *domain_auth_info**— For changes to domain-auth-info.

        * *expire_action**— For changes to domain renewal action flags. Requires both

        * *auto_renew**and**let_expire** flags to be specified.

        * *forwarding_email**— For forwarding feature on .NAME domains (cannot be set if it was missing from the capabilities in the response to the 'Get User Info'.).

        * *it_whois_display_setting**— Used to enable/disable WHOIS Privacy.

        * *parkpage_state**— Enables or disables the parked pages service for a particular  
          domain.\

        * *status**— To control the lock state of the domain.

        * *rsp_whois_info**— To control 'RSP Info in Whois' feature

        * *tld_data**— For changes to the tld_data information that is required to satisfy the regional presence and other requirements of the registry. Used for .ASIA, .COOP, .JOBS, .LV, .MX, .PRO, .RO, .US, ZA;. If you submit this value, you must also submit the**tld_data** array (see below).

        * *whois_privacy_state**— Used to enable or disable WHOIS Privacy.

        * *whois_publicity_state**— Used to enable or disable WHOIS Publicity.
      </td>
    </tr>

    <tr>
      <td>
        domain
      </td>

      <td>
        Required
      </td>

      <td>
        The relevant domain.
      </td>
    </tr>

    <tr>
      <td>
        tld_data
      </td>

      <td>
        Required for changes to

        * *tld_data** values for .ASIA,  
          .COOP, .JOBS, .LV, .MX, .PRO, .RO, .US, ZA;
      </td>

      <td>
        An associative array that contains additional information required by the registry, such as the residency of the registrant. If you submit a request that contains this array, you must also include data = **tld_data**.

        Allowed values are:

        * *ced_info**—An array that contains Charter Eligibility (CED) information for .ASIA domains.
        * *it_registrant_info**—For changes to the .IT identification information.
        * *nexus**—For changes to the .US Nexus information.
        * *registrant_extra_info**—additional registrant information.

        For more information see [tld_data](https://domains.opensrs.guide/docs/tld).
      </td>
    </tr>
  </tbody>
</Table>

### For data = ca\_whois\_display\_setting

When the **data** parameter uses the **ca\_whois\_display\_setting** value, the following additional request attribute parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        display
      </td>

      <td>
        Required
      </td>

      <td>
        The setting for the CIRA Whois Privacy.

        Allowed values are:

        * *PRIVATE**—When a WHOIS lookup is done on the domain name, do not display personal information.
        * *FULL**—When a WHOIS lookup is done on the domain name, display all of the data that is on the WHOIS directory, including name, address, telephone number and email address.
      </td>
    </tr>
  </tbody>
</Table>

### For data = change\_ips\_tag

When the **data** parameter uses the **change\_ips\_tag** value, the following additional request attribute parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        change_tag_all
      </td>

      <td>
        Optional
      </td>

      <td>
        Flag to change all domains on the registrant's profile.

        * *0**—Change Domain Tag for specified domain only; this is the default.
        * *1**—Change Domain Tag for all .UK domains on this profile.
      </td>
    </tr>

    <tr>
      <td>
        domain
      </td>

      <td>
        Required
      </td>

      <td>
        The domain whose Domain Tag is being changed.
      </td>
    </tr>

    <tr>
      <td>
        gaining_registrar_tag
      </td>

      <td>
        Required
      </td>

      <td>
        The Domain Tag of the gaining registrar.
      </td>
    </tr>

    <tr>
      <td>
        rsp_override
      </td>

      <td>
        Optional
      </td>

      <td>
        Flag to enable or disable the ability of the RSP to override the End User's Domain Tag change settings.

        * *0**—Reseller cannot override End User's Domain Tag change settings.
        * *1**—Reseller can change Domain Tag, regardless of End User's settings.
      </td>
    </tr>
  </tbody>
</Table>

### For data = contact\_info

**Note**: The contact\_info value is not supported for .DK. Use the [update\_all\_info](http://api.opensrs.com/v1.0/docs/update_all_info) command to change the contact information for .DK domains.

#### When the **data** parameter uses the **contact\_info** value, the following additional request attribute parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        contact_set
      </td>

      <td>
        Required
      </td>

      <td>
        A hash containing the modified contact information of a specific type:

        **admin**  
        **billing**  
        **tech**  
        **owner**

        * *Note**: The**owner**contact for .IT domains has three additional parameters: entity_type, nationality_code, and**reg_code**.  
          For information about these parameters, see [.IT contact requirements](https://domains.opensrs.guide/docs/tld#it-contact-requirements).\

        For more information about contact_set values, see [Examples for contact set](https://domains.opensrs.guide/docs/contact).
      </td>
    </tr>

    <tr>
      <td>
        org_name
      </td>

      <td>
        Required
      </td>

      <td>
        Organization name.
      </td>
    </tr>

    <tr>
      <td>
        report_email
      </td>

      <td>
        Optional
      </td>

      <td>
        The End User's email address to which notification of success or failure is sent. The notification email is sent on behalf of the reseller.

        * *Note**: This parameter can only be specified if**affect_domains**is set to '**1**'.
      </td>
    </tr>
  </tbody>
</Table>

You can submit different contact information for each contact type, or you can use the also\_apply\_to parameter to apply the changes to other contact types.

Additional request parameters in the **contact\_set** associative array are described below:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Value/Definition
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        also_apply_to
      </td>

      <td>
        Optional
      </td>

      <td>
        An array of other contact types to which you want to apply the changes.

        For example, if you want to apply the changes indicated in the admin contact set to the owner and  
        tech types as well, use:

        **also_apply_to =>['owner', 'tech']**

        If only one contact type is specified and **also_apply_to** is empty, update only that contact type.

        If **also_apply_to** is specified, but the complete contact set for the contact types in **also_apply_to** is also submitted, the complete contact set is used, and **also_apply_to** is ignored.

        Allowed values are:

        * *owner**— Owner contact information.
        * *admin**— Administrator contact information.
        * *billing**— Billing contact information.
        * *tech**— Tech contact information
        * *Note**: The tech value is not supported for .IT domains; if submitted, the command will fail.
      </td>
    </tr>
  </tbody>
</Table>

### For data = cira\_registrant

When the **data** parameter uses the **cira\_registrant** value, the following additional request attribute parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        address1
      </td>

      <td>
        Optional
      </td>

      <td>
        The new registrant's address. Maximum 64 characters.
      </td>
    </tr>

    <tr>
      <td>
        address2
      </td>

      <td>
        Optional
      </td>

      <td>
        The new registrant's address. Maximum 64 characters.
      </td>
    </tr>

    <tr>
      <td>
        address3
      </td>

      <td>
        Optional
      </td>

      <td>
        The new registrant's address. Maximum 64 characters.
      </td>
    </tr>

    <tr>
      <td>
        city
      </td>

      <td>
        Optional
      </td>

      <td>
        The new registrant's city. Maximum 64 characters.
      </td>
    </tr>

    <tr>
      <td>
        country
      </td>

      <td>
        Optional
      </td>

      <td>
        The 2 letter ISO country code.
      </td>
    </tr>

    <tr>
      <td>
        email
      </td>

      <td>
        Optional
      </td>

      <td>
        Maximum 64 characters, validated according to rfc822.
      </td>
    </tr>

    <tr>
      <td>
        fax
      </td>

      <td>
        Optional
      </td>

      <td>
        Maximum 20 characters, in the format +CCC.NNNNNNNNNNxEEEE, where C = country code, N = phone number, and E = extension (optional).
      </td>
    </tr>

    <tr>
      <td>
        first_name
      </td>

      <td>
        Required
      </td>

      <td>
        New registrant's first name.
      </td>
    </tr>

    <tr>
      <td>
        lang
      </td>

      <td>
        Optional
      </td>

      <td>
        The registrant's language preference. The default is  
        English.

        Allowed values are:

        * *EN**—English
        * *FR**—French
      </td>
    </tr>

    <tr>
      <td>
        last_name
      </td>

      <td>
        Required
      </td>

      <td>
        New registrant's last name.
      </td>
    </tr>

    <tr>
      <td>
        legal_type
      </td>

      <td>
        Required
      </td>

      <td>
        The code that indicates the new registrant's legal classification to satisfy CIRA's Canadian Presence Requirement (CPR).

        Allowed values are:

        * *ABO**—Aboriginal
        * *ASS**—Association
        * *CCO**—Canadian Corporation
        * *CCT**—Canadian Citizen
        * *EDU**—Educational Institution
        * *GOV**—Government
        * *HOP**—Hospital
        * *INB**—Indian Band
        * *LAM**—Library, Archive, or Museum
        * *LGR**—Legal Representative
        * *MAJ**—His Majesty the King
        * *OMK**—Protected by Trademarks Act
        * *PLT**—Political Party
        * *PRT**—Partnership
        * *RES**—Permanent Resident
        * *TDM**—Trademark Owner
        * *TRD**—Trade Union
        * *TRS**—Trust
      </td>
    </tr>

    <tr>
      <td>
        org_name
      </td>

      <td>
        Optional for individuals
      </td>

      <td>
        The name of the organization.
      </td>
    </tr>

    <tr>
      <td>
        phone
      </td>

      <td>
        Optional
      </td>

      <td>
        Maximum 20 characters, in the format +CCC.NNNNNNNNNNxEEEE, where C = country code, N = phone number, and E = extension (optional).
      </td>
    </tr>

    <tr>
      <td>
        postal_code
      </td>

      <td>
        Optional
      </td>

      <td>
        Maximum 16 characters.
      </td>
    </tr>

    <tr>
      <td>
        state
      </td>

      <td>
        Optional
      </td>

      <td>
        A valid 2 letter code for the Canadian province:

        * *AB**—Alberta
        * *BC**—British Columbia
        * *MB**—Manitoba
        * *NB**—New Brunswick
        * *NL**—Newfoundland and Labrador
        * *NT**—Northwest Territories
        * *NS**—Nova Scotia
        * *NU**—Nunavut
        * *ON**—Ontario
        * *PE**—Prince Edward Island
        * *QC**—Quebec
        * *SK**—Saskatchewan
        * *YT**—Yukon
      </td>
    </tr>
  </tbody>
</Table>

### For data = domain\_auth\_info

When the data parameter uses the **domain\_auth\_info** value, the following additional request attribute parameters can be used:

| Parameter name     | Obligation | Definition/Value            |
| :----------------- | :--------- | :-------------------------- |
| domain\_auth\_info | Required   | Domain authentication code. |

### For data = expire\_action

> 📘 Note
>
> The **modify\_expire\_action** command will return the response code 220 (Nothing to do. Current auto-renew mode is the same) if attempting to set the expire\_action of a domain to the same setting it is currently set to.

When the data parameter uses the **expire\_action** value, the following additional request attribute parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        auto_renew
      </td>

      <td>
        Required
      </td>

      <td>
        Determines whether the domain renews automatically.

        * *0**—Do not set to auto-renew.
        * *1**—Set to auto-renew.
      </td>
    </tr>

    <tr>
      <td>
        let_expire
      </td>

      <td>
        Required
      </td>

      <td>
        Determines whether to allow the domain to expire at the end of the registration term.

        * *0**—Do not expire domain silently. Reseller and registrant renewal reminders will be sent.
        * *1**—Expire domain silently. Expiry notifications will not be sent to the reseller, but any ICANN mandated notifications will continue to be sent to the registrant.
        * *Note**: This flag cannot be used for .DE domains. To delete a .DE name or allow it to expire, you need to complete and submit the Domain Termination/Deletion form at least 5 days prior to the expiry date.
      </td>
    </tr>
  </tbody>
</Table>

### For data = forwarding\_email

When the data parameter uses the **forwarding\_email** value, the following additional parameter can be used:

| Parameter name    | Obligation | Definition/Value                       |
| :---------------- | :--------- | :------------------------------------- |
| forwarding\_email | Required   | For use with .NAME forwarding feature. |

### For data = it\_whois\_display\_setting

When the **data** parameter uses the **it\_whois\_display\_setting** value, the following additional parameter can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        consent_for_publishing
      </td>

      <td>
        Required
      </td>

      <td>
        The setting for the .IT Whois Privacy.

        Allowed values are:

        * *N**—When a WHOIS lookup is done on the domain name, do not display personal information. Privacy ON.
        * *Y**—When a WHOIS lookup is done on the domain name, display all of the data that is on the WHOIS  
          directory, including name, address, telephone number and email address. Privacy OFF.
      </td>
    </tr>
  </tbody>
</Table>

### For data = parkpage\_state

This parameter is used to enable or disable the Parked Pages service for a particular domain. The Parked Pages service is available for .COM, .NET, .ORG, .INFO, .BIZ, .MOBI, .NAME, .ASIA, .BE, .BZ, .CA, .CC, .CO, .EU, .IN, .ME, .NL, .TV, .UK, .US, .WS and .XXX domains.

When the data parameter uses the **parkpage\_state** value, the following additional request attribute parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        domain
      </td>

      <td>
        Required
      </td>

      <td>
        The domain for which you want to enable or disable Parked Pages.
      </td>
    </tr>

    <tr>
      <td>
        state
      </td>

      <td>
        Required
      </td>

      <td>
        Used to enable or disable the Parked Pages service  
        for a domain.

        * *on**—Enable Parked Pages
        * *off**—Disable Parked Pages
      </td>
    </tr>
  </tbody>
</Table>

### For data = rsp\_whois\_info

When the data parameter uses the **rsp\_whois\_info** value, the following additional parameter can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        all
      </td>

      <td>
        Required
      </td>

      <td>
        Indicates whether the request is to be applied to all domains in the profile.

        * *0**—Do not apply to all domains; this is the default.
        * *1**—Apply the request to all domains in the profile.
      </td>
    </tr>

    <tr>
      <td>
        affect_domains
      </td>

      <td>
        Required
      </td>

      <td>
        Flag indicating the domains to which the change is to be applied.

        * *0**—Only change this specific domain.
        * *1**—Change applies to all domains linked to this profile.
      </td>
    </tr>

    <tr>
      <td>
        flag
      </td>

      <td>
        Required
      </td>

      <td>
        Specifies whether to display the RSP info in Whois query results.

        * *Y**—Display RSP info.
        * *N**—Do not display RSP info.
      </td>
    </tr>
  </tbody>
</Table>

### For data = status

When the data parameter uses the **status** value, the following additional parameter can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        domain
      </td>

      <td>
        Required
      </td>

      <td>
        The relevant domain.
      </td>
    </tr>

    <tr>
      <td>
        lock_state
      </td>

      <td>
        Required
      </td>

      <td>
        Indicates whether to lock the domain.

        * **0**—Unlocked
        * **1**—Locked
      </td>
    </tr>
  </tbody>
</Table>

### For data = whois\_privacy\_state

When the data parameter uses the **whois\_privacy\_state** value, the following additional parameters can be used:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligationv
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        affect_domains
      </td>

      <td>
        Required
      </td>

      <td>
        Determines whether to apply the change to all domains in the reseller's profile, on just the specified domain.

        * *0**—Apply change to this domain only.
        * *1**—Apply to all domains linked to this profile.
      </td>
    </tr>

    <tr>
      <td>
        report_email
      </td>

      <td>
        Optional
      </td>

      <td>
        The End User's email address to which notification of success or failure is sent on behalf of the reseller.

        * *Note**: This parameter can only be specified if**affect_domains**is set to**1**.
      </td>
    </tr>

    <tr>
      <td>
        state
      </td>

      <td>
        Required
      </td>

      <td>
        Used to enable or disable WHOIS Privacy. Allowed values are **enable** or **disable**.

        * *Note**: The following values are deprecated, but are still accepted for backward compatibility:
        * *N**—Disable WHOIS Privacy
        * *Y**—Enable WHOIS Privacy
      </td>
    </tr>
  </tbody>
</Table>

## Response parameters

#### Standard response parameters

* **action** = reply
* **object** = domain
* **is\_success** = a Boolean is returned, indicating success or failure of the request
* **response\_code** = response code indicating outcome of the request
* **response\_text** = message describing the outcome of the request

### Response attributes

If the request is successful, the **attributes** associative array may include the following:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter name
      </th>

      <th>
        Obligation
      </th>

      <th>
        Definition/Value
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        details
      </td>

      <td>
        Returned if **is_success = true**
      </td>

      <td>
        A case-by-case description of the success or failure of each affected domain.

        The key is the name of the domain.

        When you specify a **contact_info** modification, you can specify that you want the action to apply to all domains.

        Because the modification may succeed or fail on a case-by-case basis, you get a response code for each domain that is affected.

        The key that is used to access this domain success information is the name of the domain itself, for example, 'mydomain.com' or 'mydomain.co.uk'.

        Each key contains a hash (described below) that provides details on the action performed on that domain.
      </td>
    </tr>

    <tr>
      <td>
        encoding_type
      </td>

      <td>
        Optional
      </td>

      <td>
        The encoding type for this domain. For a list  
        of languages and codes, see “[Appendix C: Encoding Types for IDNS](https://domains.opensrs.guide/docs/appendix-c-overview)”.
      </td>
    </tr>

    <tr>
      <td>
        response_code
      </td>

      <td>
        Returned if **is_success = true**
      </td>

      <td>
        The response code associated with the modification on this domain.
      </td>
    </tr>

    <tr>
      <td>
        response_text
      </td>

      <td>
        Returned if **is_success = true**
      </td>

      <td>
        The response text associated with the modification on this domain.
      </td>
    </tr>

    <tr>
      <td>
        waiting_requests_no
      </td>

      <td>
        Returned if **is_success = true**
      </td>

      <td>
        The number of registry requests in the waiting state.
      </td>
    </tr>
  </tbody>
</Table>

## Examples

### For data = ca\_whois\_display\_setting

**Request**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY</item>
                <item key="object">DOMAIN</item>
                <item key="domain">example.ca</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">ca_whois_display_setting</item>
                        <item key="display">FULL</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">OK</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = change\_ips\_tag

```xml Request
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="data">change_ips_tag</item>
                        <item key="domain">example.me.uk</item>
                        <item key="gaining_registrar_tag">q1q1</item>
                        <item key="change_tag_all">0</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml Response (success)
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Command successfully
                    completed.</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```
```xml Request (tag not found)
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
 <header>
  <version>0.9</version>
  </header>
 <body>
  <data_block>
   <dt_assoc>
    <item key="protocol">XCP</item>
    <item key="object">DOMAIN</item>
    <item key="response_text">q1q1 Tag not found on the Nominet&apos;s list of valid tags. Please contact the new Tag Holder to confirm.</item>
    <item key="action">REPLY</item>
    <item key="response_code">400</item>
    <item key="is_success">0</item>
   </dt_assoc>
  </data_block>
 </body>
</OPS_envelope>
```

### For data = cira\_registrant

**Request**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY</item>
                <item key="object">DOMAIN</item>
                <item key="domain">example.ca</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">cira_registrant</item>
                        <item key="first_name">Pierre</item>
                        <item key="last_name">Lalonde</item>
                        <item key="org_name">Example Inc.</item>
                        <item key="address1">32 Oak St.</item>
                        <item key="address2">Suite 100</item>
                        <item key="address3" />
                        <item key="city">Toronto</item>
                        <item key="state">ON</item>
                        <item key="postal_code">M1M 1M1</item>
                        <item key="country">CA</item>
                        <item key="legal_type">CCT</item>
                        <item key="email">plalonde@example.com</item>
                        <item key="phone">+1.4165551212x1234</item>
                        <item key="fax">+1.4165551024</item>
                        <item key="lang">FR</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">OK</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = contact\_info

#### Example 1

In this example, only one type is specified and **also\_apply\_to** contains other types.

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY</item>
                <item key="object">DOMAIN</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">contact_info</item>
                        <item key="affect_domains">0</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="also_apply_to">
                                    <dt_array>
                                        <item key="0">owner</item>
                                        <item key="1">billing</item>
                                    </dt_array>
                                </item>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="first_name">Adler</item>
                                        <item key="last_name">Adams</item>
                                        <item key="org_name">Example Inc.</item>
                                        <item key="address1">32 Oak St.</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="address3" />
                                        <item key="city">Santa Clara</item>
                                        <item key="state">CA</item>
                                        <item key="postal_code">90210</item>
                                        <item key="country">US</item>
                                        <item key="phone">+1.7075551212x1812</item>
                                        <item key="fax">+1.7075553123</item>
                                        <item key="email">adams@example.com</item>
                                        <item key="url">http://www.example.com</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Modification(s) successful</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="details">
                            <dt_assoc>
                                <item key="example.com">
                                    <dt_assoc>
                                        <item key="response_text">Contact
                                            modification successful</item>
                                        <item key="response_code">200</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

#### Example 2

In this example, admin and tech contact information is changed for a .CA domain.

> 📘 Note:
>
> For .CA domains when data = contact\_info, instead of address1,\
> address2, and address3, you can specify these address attributes:\
> **addr\_office, addr\_address\_number, addr\_street\_name, addr\_street\_cat**,\
> and **addr\_orientation**.

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">

<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY</item>
                <item key="object">DOMAIN</item>
                <item key="domain">example.ca</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="contact_set">
                            <dt_assoc>
                                <item key="admin">
                                    <dt_assoc>
                                        <item key="org_name">Example Co.</item>
                                        <item key="first_name">Adler</item>
                                        <item key="last_name">Adams</item>
                                        <item key="ddress1">32 Oak Street</item>
                                        <item key="address2">Suite 100</item>
                                        <item key="address3" />
                                        <item key="city">Saskatoon</item>
                                        <item key="state">SK</item>
                                        <item key="country">CA</item>
                                        <item key="postal_code">M1M1M1</item>
                                        <item key="phone">+1/4165551212</item>
                                        <item key="fax">+1.4165552222</item>
                                        <item key="email">adams@example.ca</item>
                                        <item key="language">EN</item>
                                    </dt_assoc>
                                </item>
                                <item key="also_apply_to">
                                    <dt_array>
                                        <item key="0">tech</item>
                                    </dt_array>
                                </item>
                            </dt_assoc>
                        </item>
                        <item key="report_email"></item>
                        <item key="data">contact_info</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Modification(s) successful</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="details">
                            <dt_assoc>
                                <item key="example.ca">
                                    <dt_assoc>
                                        <item key="response_text">Contact
                                            modification successful</item>
                                        <item key="response_code">200</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

#### Example 3

In this example, owner contact information is modified for a .IT domain. The .IT owner contact requires three additional parameters: nationality\_code, reg\_code, and entity\_type.

> 📘 Note:
>
> The other contact types do not require these additional parameters, so\
> if you change the owner contact information, and you use **also\_apply\_to** to\
> apply the changes to another type, for example, tech, the command will be\
> successful, but those additional parameters and values are ignored by the\
> other contact type. However, **also\_apply\_to** billing is not supported for .IT\
> domains, and if you submit that value, the command will fail. When the\
> domain owner is a person (**entity\_type = 1**), changing the owner contact\
> information also changes the admin contact information as these are\
> considered to be the same at the Registry.

**Request**

```xml Request
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE OPS_envelope SYSTEM "ops.dtd">    
    <OPS_envelope>
        <header>
            <version>0.9</version>
        </header>
        <body>
            <data_block>
                <dt_assoc>
                    <item key="protocol">XCP</item>
                    <item key="object">DOMAIN</item>
                    <item key="action">MODIFY</item>
                    <item key="attributes">
                        <dt_assoc>
                            <item key="domain">example.it</item>
                            <item key="data">contact_info</item>
                            <item key="contact_set">
                                <dt_assoc>
                                    <item key="owner">
                                        <dt_assoc>
                                            <item key="entity_type">1</item>
                                            <item key="nationality_code">IT</item>
                                            <item key="first_name">John</item>
                                            <item key="last_name">Smith</item>
                                            <item key="org_name">Example</item>
                                            <item key="address1">Via del Campidoglio, 1</item>
                                            <item key="address2"></item>
                                            <item key="address3"></item>
                                            <item key="city">Rome</item>
                                            <item key="state">RM</item>
                                            <item key="country">IT</item>
                                            <item key="postal_code">00123</item>
                                            <item key="email">john@example.com</item>
                                            <item key="reg_code">SGLMRA80A01H501E</item>
                                            <item key="phone">+39.0612345678</item>
                                            <item key="fax"></item>
                                        </dt_assoc>
                                    </item>                            
                                </dt_assoc>
                            </item>
                        </dt_assoc>
                    </item>
                </dt_assoc>
            </data_block>
        </body>
    </OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Command completed successfully</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="details">
                            <dt_assoc>
                                <item key="example.it">
                                    <dt_assoc>
                                        <item key="response_text">Command completed successfully</item>
                                        <item key="waiting_requests_no">0</item>
                                        <item key="encoding_type"></item>
                                        <item key="response_code">200</item>
                                        <item key="is_success">1</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = domain\_auth\_info

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="domain_auth_info">mysecret</item>
                        <item key="data">domain_auth_info</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Domain auth code modification
                    Successful</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = expire\_action

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="auto_renew">0</item>
                        <item key="let_expire">0</item>
                        <item key="data">expire_action</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Update successful</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = forwarding\_email

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="forwarding_email">new@example.com</item>
                        <item key="data">forwarding_email</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Domain forwarding email
                    modification Successful</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = it\_whois\_display\_setting

**Request**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">MODIFY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">ariacorporate.it</item>
                        <item key="consent_for_publishing">N</item>
                        <item key="data">it_whois_display_setting</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">OK</item>
                <item key="action">REPLY</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = parkpage\_state

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY</item>
                <item key="object">DOMAIN</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="state">on</item>
                        <item key="data">parkpage_state</item>
                        <item key="domain">example.com</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Parked page successfully enabled
                    for domain example.com</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = rsp\_whois\_info

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="flag">Y</item>
                        <item key="all">1</item>
                        <item key="data">rsp_whois_info</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Command Successfully
                    Completed</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = status

Note that the conditions for this succeeding are those for which a **get** **domain status** call would return a **can\_modify** result of **true (1)**.

#### Example 1

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="lock_state">0</item>
                        <item key="data">status</item>
                        <item key="domain">example.com</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Lock disabled for
                    example.com</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

#### Example 2

Without end-user credentials

**Request**

```xml
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">example.com</item>
                        <item key="lock_state">0</item>
                        <item key="data">status</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Lock disabled for example.com</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = whois\_privacy\_state

#### Example 1

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="report_email" />
                        <item key="state">disable</item>
                        <item key="data">whois_privacy_state</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Whois Privacy successfully
                    disabled</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

#### Example 2

Without end-user credentials

**Request**

```xml
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">example.com</item>
                        <item key="state">enable</item>
                        <item key="data">whois_privacy_state</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Whois Privacy successfully disabled</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For data = whois\_publicity\_state

#### Example 1

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="report_email" />
                        <item key="state">disable</item>
                        <item key="data">whois_publicity_state</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Whois Publicity successfully
                    disabled</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

#### Example 2

Without end-user credentials

**Request**

```xml
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">example.com</item>
                        <item key="state">enable</item>
                        <item key="data">whois_publicity_state</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Whois Publicity successfully enabled</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For tld\_data = ced\_info (.ASIA)

#### Example 1

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="ced_info">
                                    <dt_assoc>
                                        <item key="contact_type">tech</item>
                                        <item key="legal_entity_type">other</item>
                                        <item key="legal_entity_type_info">add some text here</item>
                                        <item key="id_type">other</item>
                                        <item key="id_type_info">other</item>
                                        <item key="id_number">8675309</item>
                                        <item key="locality_city">Sydney</item>
                                        <item key="locality_state_prov">NSW</item>
                                        <item key="locality_country">AU</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Data modification Successful</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

#### Example 2

Without end-user credentials

**Request**

```xml
<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="domain">example.asia</item>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="ced_info">
                                    <dt_assoc>
                                        <item key="contact_type">tech</item>
                                        <item key="id_number">8675309</item>
                                        <item key="id_type">passport</item>
                                        <item key="legal_entity_type">corporation</item>
                                        <item key="locality_city">Sydney</item>
                                        <item key="locality_state_prov">NSW</item>
                                        <item key="locality_country">AU</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">CED Data modification Successful</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
</header>
```

<br />

### For tld\_data = it\_registrant\_info (.IT)

**Request**

```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE OPS_envelope SYSTEM "ops.dtd">    
    <OPS_envelope>
        <header>
            <version>0.9</version>
        </header>
        <body>
            <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="action">MODIFY</item>
                <item key="attributes">
                <dt_assoc>
                    <item key="domain">example.it</item>
                    <item key="data">tld_data</item>
                    <item key="tld_data">
                        <dt_assoc>
                            <item key="it_registrant_info">
                                <dt_assoc>
                                    <item key="entity_type">1</item>
                                    <item key="reg_code">SGLMRA80A01H501E</item>
                                    <item key="nationality_code">it</item>
                                </dt_assoc>
                            </item>
                        </dt_assoc>
                    </item>
                </dt_assoc>
                </item>
            </dt_assoc>
            </data_block>
        </body>
    </OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_text">Command completed successfully</item>
                <item key="response_code">200</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="details">
                            <dt_assoc>
                                <item key="example.it">
                                    <dt_assoc>
                                        <item key="response_text">Command completed successfully</item>
                                        <item key="waiting_requests_no">0</item>
                                        <item key="encoding_type"></item>
                                        <item key="response_code">200</item>
                                        <item key="is_success">1</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For tld\_data = nexus (.US)

#### Example 1

**Request**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="affect_domains">0</item>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="nexus">
                                    <dt_assoc>
                                        <item key="validator">CA</item>
                                        <item key="category">C31</item>
                                        <item key="app_purpose">P1</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Nexus Data modification Successful</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For tld\_data =professional\_data (.PRO)

**Request**

```xml
<?xml version='1.0' encoding='UTF-8'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="professional_data">
                                    <dt_assoc>
                                        <item key="authority_website">http://www.cda-adc.ca</item>
                                        <item key="license_number">987654321</item>
                                        <item key="authority">Canadian Dental Association</item>
                                        <item key="profession">Dentist</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>

<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>

<OPS_envelope>
    
    <header>
        
        <version>0.9</version>
        
    </header>
    
    <body>
        
        <data_block>
            
            <dt_assoc>
                
                <item key='protocol'>XCP</item>
                
                <item key='action'>REPLY</item>
                
                <item key='object'>DOMAIN</item>
                
                <item key='response_text'>OK</item>
                
                <item key='response_code'>200</item>
                
                <item key='is_success'>1</item>
            </dt_assoc>
            
        </data_block>
        
    </body>
    
</OPS_envelope
```

### For tld\_data = registrant\_extra\_info (.COOP)

**Request**

```xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="professional_data">
                                    <dt_assoc>
                                        <item key="authority_website">http://www.cda-adc.ca</item>
                                        <item key="license_number">987654321</item>
                                        <item key="authority">Canadian Dental Association</item>
                                        <item key="profession">Dentist</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">OK</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For tld\_data = registrant\_extra\_info (.JOBS)

**Request**

```xml
<?xml version='1.0' encoding='UTF-8'?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="jobs_admin_type">Yes</item>
                                        <item key="jobs_website">http://www.example.com</item>
                                        <item key="jobs_association_member">Yes</item>
                                        <item key="jobs_title">HR Generalist</item>
                                        <item key="jobs_industry_type">Logistics Management</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="jobs_admin_type">Yes</item>
                                        <item key="jobs_website">http://www.example.com</item>
                                        <item key="jobs_association_member">Yes</item>
                                        <item key="jobs_title">HR Generalist</item>
                                        <item key="jobs_industry_type">Logistics
Management</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

### For tld\_data = registrant\_extra\_info (.RU)

**Request**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">modify</item>
                <item key="object">domain</item>
                <item key="domain">acmeinc.biz</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="data">tld_data</item>
                        <item key="tld_data">
                            <dt_assoc>
                                <item key="registrant_extra_info">
                                    <dt_assoc>
                                        <item key="date_of_birth">1976-08-05</item>
                                        <item key="id_card_authority">Republic of Khakassia </item>
                                        <item key="id_card_issue_date">2001-01-01</item>
                                        <item key="id_card_number">987654321</item>
                                        <item key="registrant_type">individual</item>
                                    </dt_assoc>
                                </item>
                            </dt_assoc>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```

**Response**

```xml
<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">OK</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>
```