Update Hazard
update_hazardUpdate an existing hazard's name or active status in Procore Incidents. Requires company ID and hazard ID.
Instructions
Updates a Hazard. Note that Procore provided Hazards' names cannot be changed. Use this to update an existing Incidents (only the supplied fields are changed). Updates the specified Incidents and returns the modified object on success. 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 |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| id | Yes | URL path parameter — unique identifier of the Incidents resource | |
| name | No | JSON request body field — the Name of the Hazard | |
| active | No | JSON request body field — flag that denotes if the Hazard is available for use |