Update Work Activity
update_work_activityUpdate a specific work activity in Procore Incidents by sending only the fields you want to change, such as name or active status. Returns the modified activity.
Instructions
Updates a specified Work Activity. Note that Procore provided Work Activities' names cannot be changed. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "work_activity" in the request payload for you. company_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified work activity on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, id, name. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/companies/{company_id}/incidents/work_activities/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Incidents resource | |
| name | Yes | JSON request body field — the Name of the Work Activity | |
| active | No | JSON request body field — flag that denotes if the Work Activity is available for use | |
| company_id | Yes | URL path parameter — unique identifier for the company. |