Update Action
update_actionUpdate an incident action by modifying its type, description, or attachments. Send only fields you want to change; omitted fields keep their values.
Instructions
Updates the specified incident action. Supports changing the action type, description, and associated attachments. 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 "incident_action" in the request payload for you. 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 action 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: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/projects/{project_id}/incidents/actions/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the incident action. | |
| form_ids | No | JSON request body field — array of form IDs to attach to this action. | |
| image_ids | No | JSON request body field — array of image IDs to attach to this action. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| upload_ids | No | JSON request body field — array of upload identifiers (from the Uploads endpoint) to attach to this action. | |
| description | No | JSON request body field — description of action taken, in HTML rich-text format. | |
| incident_id | No | Query string parameter — unique identifier of the incident | |
| action_type_id | No | JSON request body field — identifier of the action type to classify this action. Obtain valid IDs from GET /rest/v1.0/companies/{company_id}/incidents/action_types. | |
| file_version_ids | No | JSON request body field — array of file version IDs to attach to this action. | |
| drawing_revision_ids | No | JSON request body field — array of drawing revision IDs to attach to this action. | |
| run_configurable_validations | No | Query string parameter — whether or not Configurable validations from the Incident/Injury Configurable Field Set should be run (default: false). See (https://developers.procore.com/reference/configurable-field-sets#list-pr... | |
| custom_field_%{custom_field_definition_id} | No | JSON request body field — value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one ... |