For this to work you need to enable expenses (under the General tab in Workspace Settings). It's only available on the PRO plan.

user_update_cost_rate(user_id, rate, since = NULL)

Arguments

user_id

User ID

rate

Rate

since

New rate will be applied to all time entries after this time