Setup

The Morpheus API can be used to initialize a fresh installation of the morpheus appliance.

Check Appliance

curl "https://api.gomorpheus.com/api/setup/check"
The above command returns JSON structured like this:
{
    "success":true,
    "buildVersion":"3.5.1",
    "setupNeeded":false
}

This endpoint can be used to check if the appliance needs to be setup or not, and what version it is running.

HTTP Request

GET https://api.gomorpheus.com/api/setup/check

Initialize Appliance

curl -XPOST "https://api.gomorpheus.com/api/setup/init" \
  -H "Authorization: BEARER access_token" \
  -H "Content-Type: application/json" \
  -d '{
  "applianceName": "myenterprise-morpheus",
  "applianceUrl": "https://morpheus.myenterprise.com",
  "accountName": "root",
  "username": "admin",
  "password": "69f49632b13e",
  "email": "admin@myenterprise.com",
  "firstName": "Admin"
    
  }
}'
The above command returns JSON Structured like this:
{
  "success": true
}

Initialize the appliance, creating the master account and user.

HTTP Request

POST https://api.gomorpheus.com/api/setup/init

JSON Parameters

Parameter Default Description
applianceUrl Appliance URL
applianceName Appliance Name
accountName Master Account Name
username Username
password Password
email Email Address
firstName First Name
lastName Last Name