Create the Initial Admin Password with the API

After creating a new instance of Fusion, you’ll need to create a password for the admin user. This is typically done in the Fusion UI. In some cases, such as during the development stage when the Admin UI microservice is not running, you may want to create this password using the API.

Use the following example commands to create the initial admin password with the API, in this case, password123:

In Fusion 5.x
curl -X POST -H 'content-type: application/json' 'http://localhost:6764/api' --data-binary '{"password": "password123"}'
In Fusion 4.x
curl -X POST -H 'content-type: application/json' 'http://localhost:8764/api' --data-binary '{"password": "password123"}'