I need to create an admin user using an API, but I’m not sure about the correct process or how to.
My Questions:
- What API endpoint and parameters should be used to create an admin user?
- How do I assign admin roles/permissions during user creation?
- Are there any security best practices to follow when creating admin users via API?