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
|
### Example request
|
||||||
```
|
```
|
||||||
$ curl https://repp.internet.ee/v1/domains/contacts \
|
PATCH /repp/v1/domains/contacts HTTP/1.1
|
||||||
-X PATCH \
|
Accept: application/json
|
||||||
-u username:password \
|
Content-Type: application/json
|
||||||
-d current_contact_id=foo \
|
Authorization: Basic dGVzdDp0ZXN0dGVzdA==
|
||||||
-d new_contact_id=bar
|
|
||||||
|
{
|
||||||
|
"current_contact_id": "ATSAA:749AA80F",
|
||||||
|
"new_contact_id": "ATSAA:E36957D7"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
### Example response
|
### 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