Update Affliction Type
update_affliction_typeUpdate an existing Affliction Type in Procore Incidents. Modify its name or active status using company ID, affliction type ID, and new name.
Instructions
Updates a specified Affliction Type. Note that Procore provided Affliction Types' 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, name. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/companies/{company_id}/incidents/affliction_types/{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 | Yes | JSON request body field — the Name of the Affliction Type | |
| active | No | JSON request body field — flag that denotes if the Affliction Type is available for use |