VMware NSX
GET https://<gm-ip>/global-manager/api/v1/global-infra/sites/<site>/onboarding/status
{
"site_id": "###-###",
"status": "BLOCKED_USER_REJECT",
"details": {
"error_messages": [
{
"error_code": 606136,
"error_message": "Config onboarding blocked according to user preference at site <site-name>."
}
],
"site_backup_reference": ""
},
"timestamp": ############
}
GET https://<lm_ip>/global-manager/api/v1/global-infra/sites/<site_name>/onboarding/preferences
{
"site_id": "<site-name>",
"ignore_import": true, <-----------
"resource_type": "SiteOnboardingPreference",
"id": "/global-infra/sites/<sites>/onboarding-preferences/default",
"display_name": "/global-infra/sites/<sites>/onboarding-preferences/default",
"_system_owned": true,
"_protection": "NOT_PROTECTED",
"_create_time": #############,
"_create_user": "<user_account>",
"_last_modified_time": #############,
"_last_modified_user": "<user_account>",
"_revision": 1
}
PUT https://<lm_ip>/global-manager/api/v1/global-infra/sites/<site>/onboarding/preferences
{
"site_id": "<site_id>",
"ignore_import": false
}
NOTE: You can copy the output from the "GET" command, change the "ignore_import" flag and paste this content into the API body.