Giu
Basic Pleskian
Username:
TITLE
WP Toolkit Delete Backup API Request not working
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Debian 12.4, Plesk Obsidian
Version 18.0.58 Update #2
WP Toolkit: 6.2.14-7878
PROBLEM DESCRIPTION
WP Toolkit REST API Request: /api/modules/wp-toolkit/v1/installations/XX/backups
Delete Request
if you want to delete a WP Toolkit Backup with ?files%5B%5D=yourdomain.com__2024-02-01T12_37_48%2B0100.zip
the Backup will not get deleted.
STEPS TO REPRODUCE
curl --location --request DELETE 'yourserver.com:8443/api/modules/wp-toolkit/v1/installations/INSTALLATION_ID/backups?files=yourfilename.zip' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic BASICAUTH' \
--data '{
"delete": true
}'
ACTUAL RESULT
204 No Content
no backup deletion on the server
EXPECTED RESULT
some kind of response body and backup been removed from the server/wp installation
ANY ADDITIONAL INFORMATION
It's not an auth issue and it's not an issue with installation_id or filename
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out
TITLE
WP Toolkit Delete Backup API Request not working
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Debian 12.4, Plesk Obsidian
Version 18.0.58 Update #2
WP Toolkit: 6.2.14-7878
PROBLEM DESCRIPTION
WP Toolkit REST API Request: /api/modules/wp-toolkit/v1/installations/XX/backups
Delete Request
if you want to delete a WP Toolkit Backup with ?files%5B%5D=yourdomain.com__2024-02-01T12_37_48%2B0100.zip
the Backup will not get deleted.
STEPS TO REPRODUCE
curl --location --request DELETE 'yourserver.com:8443/api/modules/wp-toolkit/v1/installations/INSTALLATION_ID/backups?files=yourfilename.zip' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic BASICAUTH' \
--data '{
"delete": true
}'
ACTUAL RESULT
204 No Content
no backup deletion on the server
EXPECTED RESULT
some kind of response body and backup been removed from the server/wp installation
ANY ADDITIONAL INFORMATION
It's not an auth issue and it's not an issue with installation_id or filename
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out