• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

api

  1. R

    Issue How to add a private remote GIT Repo using the Plesk API

    Hi all, I am trying to add a GIT Repo using the Plesk API Creating a Git Repository. I am having however issues adding the repo. Its a private repo, so it needs an SSH key to connect. However, there is no option build-in to define a SSH keygen in the `create a git repository` API method. Now...
  2. W Scott Brown

    Question Powershell access to REST api

    Has anyone been successful in executing an Invoke-RestMethod from a powershell script against an Onyx server? I can connect with a plethora of other REST tools, using both Basic and Session Key authentication, just not within Powershell. It fails during authentication with a 407 Proxy...
  3. chapterjason

    Question Plesk XML API to change nginx directives

    Hey, I currently working on a PAAS for NodeJS and PHP Applications that run in Docker. Currently im stuck a bit while try to create the proxy_pass in nginx, I already modified my vhost template that the proxy_pass in the Additional directives will take place. But I don't know how to set this...
  4. Fernando Ok

    Resolved Is possible handle mailboxes using NEW REST API v2?

    Hi, I have a question which I think I already know the answer (not), but I want to be sure. Ok, the question is if I can handle(create, edit, remove...) mailboxes using "New Remote Plesk REST API v2". This new API is amazing and I am surprised that it does not have the capacity to manage...
  5. cipcip

    Resolved Apply DNS Zone changes via XML API

    Hello guys, I still have issues with this, I have purchased another hosting, I was able to enable by default DNS zones for subdomains, but it seems that my php script although it returns success, it does not apply the DNS to the zone. The PHP function is as follows: function syncDNS($nom...
  6. M

    Issue CP User Login Attempt via API Failed

    hi i use below code to create auto-login link via API: <?xml version='1.0'?> <packet version="1.6.3.5"> <server> <create_session> <login>{login}</login> <data> <!-- Base64-encoded IP address of client, who logs into Plesk -->...
  7. P

    Issue Plesk API bug: IPv6 DNS records not added

    When we create a new subscription in Plesk via the API, the IPv6 DNS records are not added to the domains DNS-zone. The IPv6 address is available under "Web Hosting Access" but the records are missing. When you click on DNS Settings > "Reset to default" the IPv6 records show up. We tested this...
  8. N

    Issue My Mail API Script is not working for creating mail accounts.

    I had working script written in PHP to create email account in plesk. I got that from pmill/php-plesk Script is below. <?php require_once("config.php"); //echo $_GET['r']."<br>"; $emilid=$_GET['email']; $password=$_GET['password']; $params = array( 'email'=>$emilid...
  9. H

    Issue Plesk root/admin user unable to reactivate subscription from a customer after it has been suspended

    am using Plesk Onyx Hosting along with it's API to suspend webspaces (subscriptions). I do this using the PHP library like so: public function disableWebspace($id, $guid, $domain) { $webspace = $this->client->webspace()->request([ 'set' => [ 'filter' => [...
  10. K

    Question API FOR ADDING DOMAIN TO PLESK USING C#

    Hello All, Please i am new to plesk and i want to know how to integrate Plesk API to my Client Application(C#-Based) to enable my clients to perform the following: -Adding Domain and Subdomain -Files upload -Directory Browsing and any other things that could help please.
  11. AYamshanov

    Vote What do you think about securing of tokens for access to cloud(s) API?

    Hi everyone, Some time ago we improved AWS API Authorization form in Amazon Route 53 extension We added a choice: the extension automatically creates a new IAM-restricted user use user credential that was created by you previously We'd like to discuss this with you guys -- is it useful...
  12. B

    Issue XML Api special characters

    Hello, iam using the xml api and want to setup an autoresponder but iam always getting the error message " Parser error: Cannot parse the XML from the source specified" when i type special character or umlaut like äöüß... I have tried already thinks linke php htmlentities(). Please could you...
  13. O

    Question Plesk API - retrieve attributes of SSL certificate for domain

    Hi, All! Please help - I can't retrieve SSL-certificete attributes through Plesk API. I run request XML request: <packet> <certificate> <get-pool> <filter> <domain-name>your-domain-name.com</domain-name> </filter>...
  14. S

    Issue Error occured while sending feedback. HTTP code returned: 502

    Hello On one server, when I try to execute console command : /usr/local/psa/bin/reseller --on 'resellerlogin' i recieve an error and also the success message: Error occured while sending feedback. HTTP code returned: 502 SUCCESS: Changing status of reseller 'resellerlogin' complete. What is...
  15. I

    Question API for website

    Hello, guys! I have some problem with search API for web developers. Could you give me a link where I can find API for sign in/up new users of hosting and instruction for it. I read that I should add each new user myself, but I believe that I can use some API to automate this process. Thak U!
  16. M

    Resolved Partner API - Return nickname

    I managed to query the Partner API with "nickname" string Like it is described here: Searching for License Keys But really I need to get det result all the "nicknames" in our portal, or "Short description" as it is called in the Partner Central. How do I achieve this?
  17. Fernando Ok

    Question Help setting/updating values using PleskX API PHP

    Hello plesk team and customers, I'm trying to set|update values of customer/webspace.... I know method of create, get and delete, but i can't change any existent value... ¿what is set/update/change method? Create Customer example: $client->customer()->create([ 'cname' => 'Plesk'...
  18. M

    Question Clone Wordpress with CLI or API

    Hello, I am running Plesk Onyx behind my own hosting interface, customers do not login to Plesk. I would like to be able to clone staging Wordpress website to production from my own hosting panel, I did not find this functionality in API, but I guess I would create script that would use...
  19. Steve Pheriche

    Resolved XML-API <wp-instance> seems absent in Onyx?

    Hi, in Plesk Onyx the much needed Wordpress endpoint seems to be gone. Reference in Plesk 12.5 we had this Managing WordPress Installations Is there now a different way to access WP and the WP toolkit features via the API in Onyx? I'm aware of the alternative method (the provisioning...
  20. Dorathoto

    Question Some features are giving - Permission denied.

    I created a client In => mydomain.com/:8880/admin/customer/list?context=customers Then I created a domain and a subscription for that user. When I run the API with the following package <Packet> <Server> <Get_protos /> </ Server> </ Packet> I get the expected response: <? Xml version =...
Back
Top