Bulk Update Harm Sources
bulk_update_harm_sourcesUpdate active status for multiple harm sources in one request, reducing repeated calls. Pass IDs and an active flag; returns modified records with error payloads on failure.
Instructions
Updates the active status for multiple harm sources in a single request. Prefer this over repeated single-record calls when handling many harm sources at once. Pass the record's fields as top-level arguments — they are nested under "harm_source" in the request payload for you. company_id defaults to the value set by procore_set_config when omitted. Returns the modified harm source 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. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/companies/{company_id}/incidents/harm_sources/bulk_update
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | JSON request body field — the ids for this Incidents operation | |
| active | No | JSON request body field — whether the specified harm sources should be active (available for selection) or inactive. | |
| company_id | Yes | URL path parameter — unique identifier for the company. |