Onboard Endpoint
API to onboard an endpoint with License Hub.
The "force onboard" option can be used if an endpoint is currently onboarded to another License Hub instance. Selecting this option will remove all existing artifacts referencing the previous instance and onboard the endpoint to the current one. Please note that this option is only recommended if the previous License Hub instance is no longer active. If the earlier instance is still active and connected, please offboard the endpoint from that instance before onboarding it to the new one. Failing to do so may cause connectivity issues between the endpoint and the License Hub instances involved.
Endpoint details
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "string",
"description": "string",
"site_ids": [
"string"
],
"endpoint_type": "string",
"connection_info": {
"connection_type": "string",
"hostname": "string"
},
"status": "string"
}
Endpoint is onboarded successfully.
{
"id": "ffddc3d9-ecaa-470a-9155-69cbc2783d87",
"display_name": "NSX London",
"endpoint_type": "NSX_MANAGER",
"connection_info": {
"connection_type": "DYNAMIC",
"hostname": "nsx-manager.abc.com"
},
"status": "NOT_READY"
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/licensing/endpoints