vcenter svcaccountmgmt password: reset
Reset the service account password. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
POST https://{server}/rest/vcenter/svc-account-mgmt/password?action=reset
Request Body Structure:
{
"reset_spec" : {
"account_name" : "string"
}
}
"reset_spec" : {
"account_name" : "string"
}
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
reset_spec | reset_spec | |
reset_spec.account_name | string | service account name. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Response:
HTTP Status Code: 200
Representation:
{
"value" : {
"new_password" : "secret string"
}
}
"value" : {
"new_password" : "secret string"
}
}
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | output_spec | OutputSpec The newly generated service account password. |
value.new_password | secret | service account password. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
404 | not_found | if the service account bearing the input name does not exist. |
400 | invalid_argument | |
500 | error | if failed due to generic exception. |