---
title: "Domain comment update"
url: "https://help.internetx.com/en/api/core-domain-comment-update/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Tasks > Domain tasks"
updated: "2023-09-18"
---

# Domain comment update

## Function

The _DomainCommentUpdate_ task updates a domain comment.

## Description

Route: PUT /domain/{name}/\_comment  

```
{
	"objects": [
		{
			"name": "comment"
		}
	]
}
```

```
{
    "stid": "20230215-app2-dev-49072",
    "status": {
        "code": "S0102004",
        "text": "Domain comment was updated successfully.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "Domain",
        "value": "example.com"
    }
}
```

Auftragstyp-Code: 0102004  
Verwendet Objekt [Domain](/en/api/core-domain-object/)

```
<request>
    <auth>
        <user>customer</user>
        <password>password</password>
        <context>4</context>
    </auth>
    <task>
        <code>0102004</code>
        <domain>
            <name>example.com</name>
            <comment>New Comment</comment>
        </domain>
        <reply_to>EMAIL</reply_to>
    </task>
</request>
```

```
<response>
    <result>
        <data />
        <status>
            <code>S0102004</code>
            <type>success</type>
            <object>
                <type>domain</type>
                <value>example.com</value>
            </object>
        </status>
    </result>
</response>
```
