Add a vCenter to a Data Center before using that vCenter to create a private cloud environment.


  • Verify that you have a valid authentication token that matches your login credentials.

  • Verify that you have added a data center and the request has completed successfully. See Create a Data Center.

  • Ensure that you have the vCenter fully qualified domain name, user name, and password.


  1. Log in to vRealize Suite Lifecycle Manager.
    curl POST "http://localhost:8000/lcm/api/v1/login" \
  2. Submit a request to add a vCenter to vRealize Suite Lifecycle Manager with parameters inline.
    curl -X POST "http://localhost:8000/lcm/api/v1/action/add/vc" \
            -H "accept: application/json" \
            -H "x-xenon-auth-token: $token" \
            -H "content-type: application/json" \
            -d '{
               "datacenterName": "$DataCenterName",
               "vCenterName": "&vCenterFQDN",
               "userName": "admin@localhost",
               "password": "$adminPassword!",
               "type": 3}'


If the vCenter is successfully added, vRealize Suite Lifecycle Manager returns the following response:

200 Operation successful