Update A WBS Code
update_a_wbs_codeUpdate a WBS code's custom description or status in Procore. Send only the fields to change; omitted fields keep their current values. Requires project ID and WBS code ID.
Instructions
Update a WBS Code with new custom description or status. Send only the fields you intend to change; omitted fields keep their current values. project_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 WBS code 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: project_id, id. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/projects/{project_id}/work_breakdown_structure/wbs_codes/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Work Breakdown Structure resource | |
| status | No | JSON request body field — new status of the WBS Code | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| description | No | JSON request body field — new custom description of the WBS Code | |
| default_uom_id | No | JSON request body field — iD of the Unit of Measure to set as the default for this WBS code. Pass null to remove the existing default. Part of the Units of Measure Validation beta. |