- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Domain tasks
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
<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>