Delete A Single Group
delete_a_single_groupDelete a group permanently by ID. If active projects or people are assigned, the deletion fails and returns their IDs to remove the group from them first.
Instructions
Delete a single Group in a given ID. It should be noted that you can not delete a Group that has active Projects or People belonging to it. This is to prevent those entities from being "stranded" in the system if the group you are trying to delete is the single group they belong to. When you try to delete a Group that can not be deleted for this reason, you will be provided with a list of Project and People IDs that belong to this group so you can remove this group ID from those entities if you choose. Confirm the target id with the matching show or list tool before calling. company_id defaults to the value set by procore_set_config when omitted, and group_id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the group. 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: company_id, group_id. Procore API: Resource Management > Resource Planning. Endpoint: DELETE /rest/v1.0/workforce-planning/v2/companies/{company_id}/groups/{group_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | URL path parameter — unique identifier for the group | |
| company_id | Yes | URL path parameter — unique identifier for the company. This parameter accepts both formats: - **Recommended**: Procore company ID (integer) - Use this for new integrations - Legacy: LaborChart UUID format (uuid string... |