Method: OvirtSDK4::UserService#update
- Defined in:
- lib/ovirtsdk4/services.rb
#update(user, opts = {}) ⇒ User
Updates information about the user.
Only the user_options field can be updated.
For example, to update user options:
PUT /ovirt-engine/api/users/123 HTTP/1.1
With a request body like this:
<user>
<user_options>
<property>
<name>test</name>
<value>["any","JSON"]</value>
</property>
</user_options>
</user>
|
Important
|
Since version 4.4.5 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. Please use the options endpoint instead. |
29100 29101 29102 |
# File 'lib/ovirtsdk4/services.rb', line 29100 def update(user, opts = {}) internal_update(user, User, UPDATE, opts) end |