Update A Crew
update_a_crewUpdate a crew for a Procore project by providing the project and crew IDs. Send only the fields you want to change; omitted fields stay unchanged.
Instructions
Updating a Crew associated with the specified Project. 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 "crew" 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 crew 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: Core > Directory. Endpoint: PATCH /rest/v1.0/projects/{project_id}/crews/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Directory resource | |
| name | No | JSON request body field — crew Name | |
| party_ids | No | JSON request body field — array of party identifiers | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| equipment_ids | No | JSON request body field — array of equipment identifiers | |
| lead_party_id | No | JSON request body field — party Id of crew leader |