System Management/User Configuration
PUTUser ConfigurationSince 0.6SynchronousAuth Required
Update Account
Update Account
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID, uniquely identifying this resource
Body Fields
updateaccountObjectRequiredupdateaccount request body object.
passwordStringPassword
nameStringAccount name
descriptionStringDetailed description of the resource
oldPasswordString旧密码。
stateStringAccount state
systemTagsListSystem tags
userTagsListUser tags
Responses
Endpoint
PUT/zstack/v1/accounts/{uuid}
/zstack/v1/accounts/{uuid}
Request Example
curl -X PUT 'http://{host}/zstack/v1/accounts/{uuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updateaccount":{"password":"<password>","name":"<name>","description":"<description>","oldPassword":"<oldPassword>","state":"<state>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "ffbf2fac53b83b838d4551edcaff1d39", "name": "test", "type": "Normal" } }Change History
This API has no change history records yet.
