Hello,
I'm trying the http api of Open-Xchange to create mail accounts and i'm facing everytime the same problem using the put method on https://server/ajax/account?action=new :
{"categories":"PERMISSION_DENIED","error_params ":[2,1],"category":3,"error":"Multiple mail accounts not enabled for user 2 in context 1.","code":"ACC-0014","error_id":"728173775-2234"}
The user session i'm using has got the id 2 and the message just gives the information this user can't have more than 1 mail account : i'm ok with that.
The question is:
Is there any possibility to create an account not related directly with the user used in the session??
In the ideal:
- Access to the api with a "superuser"
- Mail accounts creation for several new users
Thanks by advance for your answer.
I'm trying the http api of Open-Xchange to create mail accounts and i'm facing everytime the same problem using the put method on https://server/ajax/account?action=new :
{"categories":"PERMISSION_DENIED","error_params ":[2,1],"category":3,"error":"Multiple mail accounts not enabled for user 2 in context 1.","code":"ACC-0014","error_id":"728173775-2234"}
The user session i'm using has got the id 2 and the message just gives the information this user can't have more than 1 mail account : i'm ok with that.
The question is:
Is there any possibility to create an account not related directly with the user used in the session??
In the ideal:
- Access to the api with a "superuser"
- Mail accounts creation for several new users
Thanks by advance for your answer.
Comment