Get PSC Registration
If vSphere APIs begin with /rest (vs /api), any maps are consumed/returned instead as arrays of objects, each containing a key and a value property field.
Get information of the PSC that this appliance is registered with.
Request
URLURL
https://{api_host}/rest/vcenter/system-config/psc-registration
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
SystemConfigPscRegistrationGetResponseBody
of type application/json
Info structure containing information about the external PSC node this appliance is registered with.
{
"value": {
"address": "string",
"https_port": 0,
"sso_domain": "string"
}
}
value
Optional
Info structure containing information about the external PSC node this appliance is registered with.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/system-config/psc-registration
Errors
409
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is in NOT_INITIALIZED state.