Esx. Settings. Internal. Notifications. Certificate Refresh Certificate
The refreshCertificate operation is used by CMS to notify updatemgr in the event of vCenter server TLS certificate change. Upon being notified, updatemgr service is reregistered with vCenter server using the new vCenter server TLS certificate.
This operation was added in vSphere API 8.0.2.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires CertificateManagement.Administer.
Esx.Settings.Internal.Notifications.Certificate.TLSCertChange schema that contains the notification contents.
"Esx.Settings.Internal.Notifications.Certificate.TLSCertChange Object"
Success!
If the TLSCertChange#CertChangeType property of notification specifies an invalid cert change type
"Vapi.Std.Errors.InvalidArgument Object"
If the user can not be authenticated
"Vapi.Std.Errors.Unauthenticated Object"
If the user is not authorized to access the API.
"Vapi.Std.Errors.Unauthorized Object"
Vapi.Std.Errors.Error If there is some unknown internal error. The accompanying error message will give more details about the failure.
Esx.Settings.Internal.Notifications.Certificate.WebHookError If the notification failed to be processed. The accompanying error type will give more details about the failure.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/esx/settings/internal/notifications/certificate