Hi, dear plesk community,
please tell me how can i delete all mailboxes at once using REST API v2?
This is the correct way to delete one mailbox but I need to delete all created mailboxes one time.
please tell me how can i delete all mailboxes at once using REST API v2?
This is the correct way to delete one mailbox but I need to delete all created mailboxes one time.
# curl -k -X POST -u admin:password "[URL]https://203.0.113.2:8443/api/v2/cli/mail/call[/URL]" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"params\": [ \"--remove\", \"[EMAIL][email protected][/EMAIL]\" ]}"