vcenter namespace management clusters: rotate password
Request 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:
HTTP request
POST https://{server}/api/vcenter/namespace-management/clusters/{cluster}
?action=rotate_password
?action=rotate_password
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
cluster | string | Identifier for the cluster for which the password is being generated. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if the system reports an error while responding to the request. |
404 | not_found | if cluster could not be located. |
401 | unauthenticated | if the user can not be authenticated. |
403 | unauthorized | if the user does not have Namespaces.Manage privilege. |
400 | not_allowed_in_current_state | if the cluster is in the process of password rotation. |