Control Web Panel
Developers => Functions => Topic started by: Iz3k34l on July 12, 2019, 04:31:40 AM
-
i am wanting to create a script that will change a password for an email account. i am testing by simply trying to list users with cURL using this line
curl -d '{"MYKEY":"mYk3yh3r3","action":"list"}' -H "Content-Type: application/json" -X POST https://cwp.mydomain.com:2304/v1/accountdetail
but i get the error
{"status":"Error","msj":"error in key","format":"JSON"}
Thanks for your help
-
Visit our documentation
https://docs.control-webpanel.com/docs/developer-tools/api-manager
-
Visit our documentation
https://docs.control-webpanel.com/docs/developer-tools/api-manager
Thank you now i get {"status":"Error","msj":"Unauthorized action