Update Hazard
update_hazardUpdate an existing hazard's details, such as its name or active status. Specify only the fields to change; Procore-provided hazard names remain fixed. Requires company ID and hazard ID.
Instructions
Updates the specified hazard. Procore-provided hazard 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 "hazard" 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 hazard 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. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/companies/{company_id}/hazards/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the hazard. Use the id from the List Hazards response. | |
| name | No | JSON request body field — display name of the hazard. Must be unique within the company. Cannot be changed for Procore-provided hazards. | |
| active | No | JSON request body field — whether the hazard is available for selection when recording incidents. | |
| company_id | Yes | URL path parameter — unique identifier for the company. |