• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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