Sets the value of a specified property of a specified User.
The ID of the User.
The name of the property to change.
Accepted names:
'address',
'bgcolour',
'cost_per_hour',
'date_of_birth',
'hours_per_week',
'name',
'phone_mobile',
'phone_landline',
'price_per_hour',
'password',
'vehicle_id'.
The new value of the property.
Last updated 3 years ago
FM_api('User_set', ['id' => '123', 'name' => 'cost_per_hour', 'val' => '210.50']);
{'ok':1}
{'error':'unknown variable name'}