This issue will be fixed in the future releases.
Workaround:
Use port :5480 with `/rest` end point
e.g.
https://{api_host}:5480/rest/vcenter/deployment/install?action=checkThe APIs on :5480/rest are similar to deprecated older :443/rest
APIsRefer to
7.0U2 programming update guide to use :5480/rest.
Following is an illustration of changes required to API requests.
--------------------------------------------------------------------
1. Authentication mechanism
--------------------------------------------------------------------
The vCenter Deployment group APIs support the following methods to authenticate requests:
a. API key
To authenticate using this mechanism, a session is acquired from Create Session API under CIS product.
POST
https://<server>:5480/rest/com/vmware/cis/session This requests returns a vmware-api-session-id
Example of a vmware-api-session-id:
"
b00db39f948d13ea1e59b4d6fce56389"
The "
vmware-api-session-id" and it's value has to be passed as a header while invoking the APIs.
b. Basic Authentication
To authenticate using this mechanism, pass the SSO credentials or the vCenter Server root credentials.
--------------------------------------------------------------------
2. Modify the request.
--------------------------------------------------------------------
Please modify and replace the API request to use /rest on port 5480 instead of /api
-------------
Example 1
-------------
Change
POST
https://<server>/api/vcenter/deployment/install?action=check to
POST
https://<server>:5480/rest/vcenter/deployment/install?action=check------------
Example 2
------------
Change
POST https://<server>/api/vcenter/deployment/install?action=start
to
POST
https://<server>:5480/rest/vcenter/deployment/install?action=start------------
Example 3
------------
Change
GET
https://{server}/api/vcenter/deployment/install to
GET
https://{server}:5480/rest/vcenter/deployment/install--------------------------------------------------------------------
3. Modify the payload body if applicable.
--------------------------------------------------------------------
Add the "
spec" to the body
e.g.
Change
{
"vcsa_embedded": {
"ceip_enabled": false
}
}
to
{
"spec": {
"vcsa_embedded": {
"ceip_enabled": false }
}
}