Rotate Password Clusters
Released in v7.0.0.0Request a new root password for all control plane nodes in the cluster. This operation generates a new root password and configures every control plane node in the cluster to accept it for authentication.
Request
URLURL
https://{api_host}/api/vcenter/namespace-management/clusters/{cluster}?action=rotate_password
Parameters
Parameters
string
cluster
Required
Identifier for the cluster for which the password is being generated.
The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/namespace-management/clusters/{cluster}?action=rotate_password
Errors
404
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request. | com.vmware.vapi.std.errors.not_found : if cluster could not be located.
409
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the cluster is in the process of password rotation.
401
com.vmware.vapi.std.errors.unauthenticated : if the user can not be authenticated. | com.vmware.vapi.std.errors.unauthorized : if the user does not have Namespaces.Manage privilege.
On This Page
Clusters Operations
get
get
put
patch
post
post