Skip to content

How to Create an Admin User Using an API?

I need to create an admin user using an API, but I’m not sure about the correct process or how to.

My Questions:

  1. What API endpoint and parameters should be used to create an admin user?
  2. How do I assign admin roles/permissions during user creation?
  3. Are there any security best practices to follow when creating admin users via API?