phpplesk

Create mail account in Plesk REST API


We have a Plesk panel for managing our mail accounts. We want to create new accounts by using the (new) REST json API in Plesk. The documentation is unclear about this: https://[host]:8443/api/v2 (swagger docs)

It is possible to create domains with a simple call though.

How can we add a new mailaccount and update the password of an existing mailaccount with de Plesk REST API (non-xml)?


Solution

  • It's not possible with the REST api.