internetee-registry/doc/repp/v1/domain_contacts.md
Artur Beljajev 8c915164c5 Change naming
#662
2018-06-04 02:14:15 +03:00

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"]
}
```