mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Docs: REPP Domain tech contact replace
This commit is contained in:
parent
09c62fd7eb
commit
909460668d
1 changed files with 17 additions and 6 deletions
|
@ -5,15 +5,26 @@ 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
|
||||
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
|
||||
```
|
||||
{
|
||||
"affected_domains": ["example.com", "example.org"]
|
||||
"code": 1000,
|
||||
"message": "Command completed successfully",
|
||||
"data": {
|
||||
"affected_domains": [
|
||||
"private.ee",
|
||||
],
|
||||
"skipped_domains": []
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue