Delete A Crew
delete_a_crewDelete a crew from a specified Procore project. Permanently removes the crew record, requiring the project ID and crew ID to confirm the target.
Instructions
Deleting a Crew associated with the specified Project. Confirm the target id with the matching show or list tool before calling. 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. Permanently removes the crew. This cannot be undone, and a repeat call returns 404. 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: DELETE /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 |