• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Need Help in Domain API. Please.

Hassan_

New Pleskian
Hi, I am trying to add a domain to an existing subscription. Let's say the customer has Domain Test1.com, and I am creating a second domain as test2.com. I want the webspace to be set to test1.com, and I would like it not to require setting up an FTP user and password. Could someone please help? I am attaching my JSON body:

{
"name": "test15.com",
"hosting_type": "virtual",
"hosting_settings": {
"dest_url": "test6.com"
},
"owner_client": {
"login": "xyz"
},
"base_domain": {
"id": 156,
"name": "test6.com"
}
}
 
Back
Top