mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 15:44:45 +02:00
Add admin_contact bulk update endpoint documentation
This commit is contained in:
parent
8dfe1c83e6
commit
ac726a9554
2 changed files with 32 additions and 2 deletions
30
doc/repp/v1/admin_contacts.md
Normal file
30
doc/repp/v1/admin_contacts.md
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Admin domain contacts
|
||||||
|
|
||||||
|
## PATCH https://repp.internet.ee/v1/domains/admin_contacts
|
||||||
|
Replaces admin domain contacts of the current registrar.
|
||||||
|
|
||||||
|
### Example request
|
||||||
|
```
|
||||||
|
PATCH /repp/v1/domains/admin_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": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
|
@ -1,7 +1,7 @@
|
||||||
# Domain contacts
|
# Tech domain contacts
|
||||||
|
|
||||||
## PATCH https://repp.internet.ee/v1/domains/contacts
|
## PATCH https://repp.internet.ee/v1/domains/contacts
|
||||||
Replaces all domain contacts of the current registrar.
|
Replaces technical domain contacts of the current registrar.
|
||||||
|
|
||||||
### Example request
|
### Example request
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue