• 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. Giu

    Resolved WP Toolkit API - active/deactivated Status for Plugins not refreshing

    Hi Forum, When a User deactivates a Plugin inside WP-Admin. This change of status in: /v1/installations/{installationId}/plugins route will not be reflected in the api response. The response property "status" shows then still true. only if you go into Plesk Admin navigate to the Installation...
  2. Giu

    Resolved API change Cronjobs with CLI (cli/crontab_shell/call)

    Hello Forum, i want to know how can i set and get cronjobs via api xml or json. i thought about using /api/v2cli/crontab_shell/call the command reference for this is: { "allowed_commands": { "update": { "name": "update", "info": "Updates crontab shell at...
  3. Giu

    Question reattach a manual made WP installation

    Hello i have a question. for example when we give a user a plesk subscription with a already installed wp installation by wp toolkit. the user now logs into with FTP and deletes the wordpress files and cleares the database and installs a new wp instance how can i reattach this user installed...
  4. Giu

    Resolved Plesk XML API how to change PHP Handler?

    Hello Forum, i want to set a different php handler for a subscription with the xml API. i guess this is the way to do it: Setting Subscription Parameters but unfortunatley there is no information for example what options are available for PHP Settings. i guessed some but what i really miss is...
  5. V

    Issue Plesk Monitoring Error

    Hello, I am getting the following error when I try to open Plesk Monitoring: 2024-02-20 23:12:34 ERR extension/monitoring /opt/psa/admin/plib/modules/monitoring/library/Http/HttpClient.php(128): Response parsing error: Syntax error 2024-02-20 23:12:07 ERR extension/monitoring Unexpected...
  6. Giu

    Issue API Delete Backup not functional

    Hi Forum, im trying to delete a backup via WP Toolkit API: /api/modules/wp-toolkit/v1/installations/67/backups in the rest swagger test i receive the following error: Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be "http" or "https" for CORS request. the...
  7. Giu

    Question Restore Backup with API/CLI from remote Storage

    Hi, i have two questions: 1) there is no way with the xml api or the REST api to restore a backup from a remote storage right? 2) if so then i need to make use of the cli: pleskrestore: Restoration from Backup my question here is: will this cli restore automatically check for the remote...
  8. Lenny

    Resolved Seeking Assistance with API Communication Issues via SSL on Plesk

    Hello Everyone, Firstly, I would like to extend my gratitude to all of you for taking the time to read about my issue and for any assistance you might offer in resolving it. I have extensively researched and tried most of the suggested solutions for my problem. However, before considering a...
  9. M

    Question Update "Webspace settings - SSH access" using API

    Specifically I am looking to update the user's password and SSH access via the API. Background I have a script that automatically sets up an account and creates a database and user. What I would then like to do is: SSH into the new account through a script Run some setup commands (git clone...
  10. J

    Question How to add firewall rules using Plesk API

    I need information on how to add/remove records to the windows firewall through the API
  11. M

    Resolved Error 1014 Creating FTP User REST API

    Hi there, I want to make a user using the REST API, but I get following message { "code" : 1014, "message" : "Parser error: Request is invalid. Error in line 1: Element 'webspace-id': '0' is not a valid value of the atomic type 'id_type'." } I'm sending following data to endpoint -X...
  12. Giu

    Resolved JSON API: Create/Update Client: "Call to a member function getApsBundleFilter() on null"

    Hi there, im testing out the JSON Api. So far everything works nicely but on POST Create Client /clients PUT Update Client /clients/{id} i get the following Error: { "code": 0, "message": "Call to a member function getApsBundleFilter() on null" } On POST Create Client the client...
  13. David Perez

    Question Get Size limit from account

    Hello, I'd need to get the size of the account via API, becouse I want to use it in my CRM in order to sell bigger plan. How could I do it?
  14. E

    Question How can I query the mail queue with Plesk API?

    How can I query the mail queue with Plesk API? (the number of items in the queue is enough) I would like to receive an automatic notification (email) if the number of items in the queue reaches a limit (e.g. 100 pieces), so that I can act in time before the server is blacklisted.
  15. K

    Resolved How to get service plan list via REST API

    Hi, I have looked around and can't find the answer anywhere. I need to find how to list the service plans vis REST API (PHP). Anyone able to help? Thanks
  16. Frank.P

    Resolved XML API : Getting Password for Customer Accounts

    https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-customer-accounts/getting-information-about-customer-accounts.28790/#response-packet-structure Sample Response : <password>$5$D9pDoFzjjx+9Jxmk$ZNhvXW2Tu</password>...
  17. J.Wick

    Question Plesk API & CloudFlare IP Issue

    I'm trying to setup Postman to connect to Plesk API, but I'm getting an Access Denied Error and a Cloudflare IP address. If I whitelist all CF IPs I open the API to the world, I don't want that. mod_cloudflare restores the IP to Apache, but it doesn't work on the API. Is there a work around?
  18. M

    Question REST API One time login with redirect url

    I am trying to create an one time login that logins as an system user or redirect to a specific client or domain. In the XML API it can be done with server -> create_session, but how can i do it with the rest api (somewhere in cli??) Is it even possible??
  19. M

    Question Rest API

    Is there an possibility where i can get the traffic usage per server, customer, domain/subscription. I cannot find a way to view the traffic statistics from the last 10 minutes for example. I hope somebody has an answer for me. Kind regards, Arthur
  20. P

    Question Extend Plesk rest API with custom extension?

    Hi everyone, I am developing a Plesk extension which analyses some data of our customers. This data should be transferred to another application using an API. So as Plesk provides the v2 rest API with swagger files this is the way I want to use. The Plesk SDK gives some hint that there is a...
Back
Top