# PATCH /job-costing/staff-rates/:user_id

**Resource:** [JOB_COSTING](./job-costing.md)  
**MCP tool:** `set_staff_cost_rate`  
**Scopes:** `job-costing:write`  
**Write operation:** yes

Set what an hour of one team member's time costs the business (cost per hour, ex GST). Job costing uses it to turn time logged on a job into labour cost. Replaces any rate already set.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `user_id` | path | string | yes | The team member (user UUID, from list_staff_cost_rates). |
| `cost_per_hour` | body | number | yes | Cost per hour: what one hour of this person's time costs the business, before GST (wage plus on-costs), for example 55. Used to turn time logged on a job into labour cost on the job costing. Not the rate the customer is charged (that is the labour product's price). |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/job-costing/staff-rates/:user_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"cost_per_hour":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`