mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
48 lines
754 B
Markdown
48 lines
754 B
Markdown
# Domain transfers
|
|
|
|
## POST /repp/v1/domain_transfers
|
|
Transfers domains.
|
|
|
|
#### Request
|
|
```
|
|
POST /repp/v1/domain_transfers
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Basic dGVzdDp0ZXN0dGVzdA==
|
|
|
|
{
|
|
"data":{
|
|
"domainTransfers":[
|
|
{
|
|
"domainName":"example.com",
|
|
"transferCode":"63e7"
|
|
},
|
|
{
|
|
"domainName":"example.org",
|
|
"transferCode":"15f9"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
```
|
|
|
|
#### Response on success
|
|
```
|
|
HTTP/1.1 204
|
|
```
|
|
|
|
#### Response on failure
|
|
```
|
|
HTTP/1.1 400
|
|
Content-Type: application/json
|
|
{
|
|
"errors":[
|
|
{
|
|
"title":"example.com transfer code is wrong"
|
|
},
|
|
{
|
|
"title":"example.org does not exist"
|
|
}
|
|
]
|
|
}
|
|
```
|