Topic: REST API - change_email does not work for different domains
Good evening,
I am using REST API to manage e-mail accounts.
When I just change the user identifier and leave the domain the same, everything goes OK.
But when I try to change user identifier AND the domain name (both domains are created), I receive PERMISSION_DENIED.
Does that mean that it is only possible to change e-mail address WITHIN the same domain name?
Thank you!
Best regards,
Tom
--
iMac-TOMEK:workspace tskalczynski$ curl -k -X POST -i -b cookie.txt -d '' https://sncube.pl/iredadmin/api/user/sk … sy.company
HTTP/1.1 200 OK
Date: Sat, 09 Jun 2018 19:06:56 GMT
Server: Apache
Set-Cookie: iRedAdmin-Pro-mysql=9ea7a008adcd156238e6209062bb99b0e450a268; Path=/iredadmin/; httponly
Transfer-Encoding: chunked
Content-Type: application/json
{"_success": true}
iMac-TOMEK:workspace tskalczynski$ curl -k -X POST -i -b cookie.txt -d '' https://sncube.pl/iredadmin/api/user/sk … haha111.pl
HTTP/1.1 200 OK
Date: Sat, 09 Jun 2018 19:07:15 GMT
Server: Apache
Set-Cookie: iRedAdmin-Pro-mysql=9ea7a008adcd156238e6209062bb99b0e450a268; Path=/iredadmin/; httponly
Transfer-Encoding: chunked
Content-Type: application/json
{"_success": false, "_msg": "PERMISSION_DENIED"}
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.