Repoint 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.
Repoint this vCenter Server appliance to a different external PSC.
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
Request Body
Request Body
SystemConfigPscRegistrationRepointRequestBody of type application/json (required){
"spec": {
"psc_hostname": "string",
"sso_admin_password": "string"
}
}
spec
Required
RemotePscSpec structure containing information about the external PSC node to repoint this vCenter Server appliance to.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"spec":{"https_port":0,"psc_hostname":"string","ssl_thumbprint":"string","ssl_verify":false,"sso_admin_password":"string"}}' https://{api_host}/rest/vcenter/system-config/psc-registration
Errors
400
com.vmware.vapi.std.errors.invalid_argument : if the passed external PSC is not a replicating with the current PSC this appliance is registered with.
if passed arguments are invalid.
401
com.vmware.vapi.std.errors.unauthenticated : if the caller is not authenticated.
if the passed external PSC credentials is invalid.
405
com.vmware.vapi.std.errors.unsupported : if the current appliance is not of the type VCSA_EXTERNAL.
409
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is NOT in CONFIGURED state.