Answering myself:
- you need to login through Admin API, and use the token in Account API
- you need adminLoginAs permission (getAccountInfo is not needed)
- you need to login through Admin API, and use the token in Account API
- you need adminLoginAs permission (getAccountInfo is not needed)
Code:
zmprov grr domain example.com usr account.admin@example.com +adminLoginAs
Statistics: Posted by Furgas — Tue Jan 28, 2025 2:37 pm