Docs: REPP Domain tech contact replace

This commit is contained in:
Karl Erik Õunapuu 2020-10-26 14:35:47 +02:00
parent 09c62fd7eb
commit 909460668d
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

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