mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
30 lines
571 B
Markdown
30 lines
571 B
Markdown
# Domain contacts
|
|
|
|
## PATCH https://repp.internet.ee/v1/domains/contacts
|
|
Replaces all domain contacts of the current registrar.
|
|
|
|
### Example request
|
|
```
|
|
PATCH /repp/v1/domains/contacts HTTP/1.1
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Basic dGVzdDp0ZXN0dGVzdA==
|
|
|
|
{
|
|
"current_contact_id": "ATSAA:749AA80F",
|
|
"new_contact_id": "ATSAA:E36957D7"
|
|
}
|
|
```
|
|
### Example response
|
|
```
|
|
{
|
|
"code": 1000,
|
|
"message": "Command completed successfully",
|
|
"data": {
|
|
"affected_domains": [
|
|
"private.ee",
|
|
],
|
|
"skipped_domains": []
|
|
}
|
|
}
|
|
```
|