mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 21:54:48 +02:00
19 lines
393 B
Markdown
19 lines
393 B
Markdown
# Domain contacts
|
|
|
|
## PATCH https://repp.internet.ee/v1/domains/contacts
|
|
Replaces all domain contacts of the current registrar.
|
|
|
|
### Example request
|
|
```
|
|
$ curl https://repp.internet.ee/v1/domains/contacts \
|
|
-X PATCH \
|
|
-u username:password \
|
|
-d current_contact_id=foo \
|
|
-d new_contact_id=bar
|
|
```
|
|
### Example response
|
|
```
|
|
{
|
|
"affected_domains": ["example.com", "example.org"]
|
|
}
|
|
```
|