• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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