I run the command in the SSH in Plesk and i got this
Command 'rpm' not found, but can be installed with:
apt install rpm
should i install it? was this package supposed to exist?
I've tested it multiple times with test and production domains (that i didn't longer want) and it happened on all of them. I get a 500 response when using postman (i suppose that means a fatal error occured)
@Kaspar
I found this in the error logs (however the domain id exists prior the deletion and it gets deleted after executing the command)
[06-Nov-2025 11:44:25 Etc/UTC] PHP Fatal error: Declaration of PleskRestApi\Symfony\Component\Cache\Adapter\ArrayAdapter::setLogger(Psr\Log\LoggerInterface...
@Sebahat.hadzhi
DELETE Request with URL with authentication
https://<mypleskserver>.com:8443/api/v2/domains/92
Outputs 500 Internal Server Error however the domain is being deleted, i've tried with POSTMAN as well.
Screenshot: Clean-Shot-2025-11-06-at-13-46-44 hosted at ImgBB
A similar issue exists now when deleting a domain with the Plesk Rest API V2. It always returns a "500 error", even tho the domain gets completely deleted from the server (even the subscription).
It should return 200 instead @Sebahat.hadzhi
Update
Now the endpoint /dbusers works without an additional parameter "dbId" BUT it does not return ALL the database users for some reason, out of 4 databases it returns only 2 databases that are on the same subdomain.
curl --location 'https://test.startdedicated.de:8443/api/v2/dbusers' \...
You are right @Kaspar , thank you for claryfing.
Both issues are related to the Rest API v2 and not the XML.
There needs to be a way to get all the databases and database users with one simple API call, as it was all this time before these issues occured.
Username:
TITLE
Rest API Fatal Errors
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.68 Update #2 Web Host Edition
Ubuntu 24.04.2 LTS
PROBLEM DESCRIPTION
Hello,
Creating a new thread as suggested from this post...
Also the endpoint /dbusers does NOT work without a string query "dbId"
It used to work fine previously. It seems like a lot has changed in the API in the last few weeks, particularly in the databases from what I can see.
However, this is not good because now we have to make a lot more API calls...
Hi All,
Recently the API call to the /databases endpoint is not working properly without a "domain" parameter.
It used to work without any issues before.
Having the ability to find if a database name already exists in the server is very beneficial as it allows you to create databases/domains...
Hi,
When executing a script from the CLI with /usr/bin/php executable, I get ioncube loader errors, but if I run the script with /opt/plesk/php/8.1/bin/php the script gets executed successfully, because the Ioncube PECL package for this PHP version is installed.
Is there anyway to enable...