Method: GroupAccountsClient#update_group_account
- Defined in:
- lib/lockstep_sdk/clients/group_accounts_client.rb
#update_group_account(id:, body:) ⇒ Object
Updates a group account that matches the specified id with the requested information.
The PATCH method allows you to change specific values on the object while leaving other values alone. As input you should supply a list of field names and new values. If you do not provide the name of a field, that field will remain unchanged. This allows you to ensure that you are only updating the specific fields desired.
42 43 44 45 |
# File 'lib/lockstep_sdk/clients/group_accounts_client.rb', line 42 def update_group_account(id:, body:) path = "/api/v1/GroupAccounts/#{id}" @connection.request(:patch, path, body.to_camelback_keys.to_json, nil) end |