• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

api

  1. H

    Question Manage multiple servers with Plesk

    Is there currently a way to manage multiple servers together with Plesk? Or is there only the possibility via the API?
  2. J

    Question Virtual Host Template Applied to REST API Domains?

    Hello, I recently configured a virtual host template successfully applied to any new domain created manually in Plesk. When I use the Plesk REST API to create domains, the virtual host template is not applied. Is it possible to apply a virtual host template on API created domains? Here's my...
  3. R

    Input Selling Hosting Services

    So I want to start selling hosting plans however I do not want much with keeping track of Users billing, want to bill via my website (running wordpress) I know there is a WooConmerce plugin for subscription billing however I want. to connect wordpress users accounts to Plesk. Also Enable and...
  4. Lexz

    Resolved API install SSL certificate for mailserver

    Good afternoon everybody, I hope someone can help us. We are developing the API implementation into our customerpanel. We would like to install a certificate (Sectigo) for the mailserver of a subscription but we couldn't find it in the API documentation. (Mail Service Preferences) We only...
  5. tuend

    Question How to create new API endpoint of my custom extension?

    Hi, I'm building an Plesk Extension with some special action. It working very nice with Plesk UI. Now i want to call that actionvia Plesk API. How can i do that? Can you give me some document like: Create new API endpoint of extension,...? Thank you verymuch.
  6. G

    Resolved How to create an extension for api use?

    Hi, I want to be able to create and delete files inside of any user websites. My application will be available outside of Plesk. I took a look at the XML Api but, I can't find any api that allows me to manage the files. But, the extension API does have a Filemanager class that allow to manage...
  7. J

    Input add external DNS APIs for Letsencrypt extension

    I use Gandi.net's DNS service for most of my domains. I also use wildcard certificates issued by the Letsencrypt extension. However the automatic update of the DNS records with the _acme-challenge only works if the DNS is handled within Plesk, if I understand correctly? Gandi, as many DNS...
  8. B

    Question Need API functions to create a backup manager for Plesk

    I'm creating a web based application which will act as a backup/restore manager for Plesk. The desired functionality is as follows: List websites available for restore List databases available for restore List the corresponding dates with backup availability for the above websites/DBs I have...
  9. W

    Question Subscription creation via api: how to deal with ssh public key?

    Hello, I'm currently working with ansible to automate a subscription creation. Here is what i'm achieving right now: With Plesk xml api : - Subscription creation - Database creation for this subscription - User creation for this database With Plesk REST api : - Calling Plesk CLI api to deal...
  10. R

    Resolved Curl Request 401 Unauthorized

    Hello! I am very new to Plesk and I'm doing this for a friend who is also stumped. He's got a Plesk server set up and wants to access the Rest API remotely, but whenever he or I try on our own machines, we get the following error: [root@vps ~]# curl -i -k -X GET -u admin:thepasswordgoeshere...
  11. L

    Question Only IPv4 added to hosting package by default, IPv6 needs to be added manually

    Hello, It seems that all the hosting packages I add will only get the IPv4 of the server assigned. Why is the IPv6 not added by default? Can this be done via the API maybe?
  12. M

    Plesk REST API cli - endpoint for wp-toolkit

    Hi, please help me figure out, what would be an endpoint for REST API call to wp-toolkit extension: When I try to run https://<myIP>:8443/api/v2/cli/wp_instance/call, I get { "code": 0, "message": "Command 'wp_instance' not found" } It looks like wp_isntance command is not supported anymore...
  13. R

    Question Plesk REST API for PHP

    Hello everyone I am trying to automate the ordering process. I want to use the REST API and PHP. The official documentation is not very helpful, hardly anything is described. The swagger version is not very informative either. Does anyone know good documentation that describes how to create a...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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 -->...
  20. Paul Hermans

    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...
Back
Top