• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved xml api creat role for user deprecated

christian

Basic Pleskian
i used xml api to create role to additional user in plesk 12.5., to give them right to manage customers emails on her website. working perfectly in 12.5
but
after upgrading to version 17, the xml api don't want to make the job.

i followed the minimal sample at Creating a Role
but give Error:'This feature is no longer supported.'
what the hell. ??

where is the right doc? how to do this,? to give right to user to manage emails or other.?
 
ok, so, to resume.
you was deleted part of xm apî, because you determinate , on your side , simply, that is rarely used. thanks for customer that use it. !!!
and replaced by ??? NOTHING..!!
you api rest V2 contain nothing to manage right for customer account.
thank you to wrecked our work and automation process !!
ARE YOU A PARTNER OR AN ENNEMY ??
 
Yep, ended up with this and it works well:
Code:
curl -k -X POST -u 'admin:PaSSword' "https://IP_ADDRESS:8443/api/v2/cli/user/call" -H "accept: application/json" -H "Content-Type: application/json" -d '{ "params": [ "-c", "myUsername", "-role", "myRole", "-passwd", "PaSSword!", "-cname", "myName", "-email", "[email protected]", "-subscription-name", "mysubcription.domain.tld", "-owner", "myOwnerUsername", "-locale", "fr-FR" ]}'
 
https://IP_ADDRESS:8443/api/v2/cli/user/call now returns 404... based on the Swagger, there's no more user/call...
Any alternative?
 
https://IP_ADDRESS:8443/api/v2/cli/user/call now returns 404... based on the Swagger, there's no more user/call...
Any alternative?
Solved.... after playing around, the trailing slash was the issue. No clue why it changed, maybe a change in PHP version of the script calling the API...

In brief:
  • https://<IP_ADDRESS>:8443/api/v2/cli/user/call/ returns 404
  • https://<host.domain.tld>:8443/api/v2/cli/user/call/ returns 404
  • https://<IP_ADDRESS>:8443/api/v2/cli/user/call all good
  • https://<host.domain.tld>:8443/api/v2/cli/user/call all good
 
Back
Top