Delete Project Membership
delete_project_membershipDelete a project membership for a reference user in Procore. Permanently removes the association using project, membership, and party IDs; verify IDs with the list tool first to avoid errors.
Instructions
Delete a Project Membership for a party on the given Project. This endpoint can currently only be used to delete reference users from a project. It cannot be used to delete a user who has a login or to delete vendors. Confirm the target id with the matching show or list tool before calling. 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 project membership. 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, party_id. Procore API: Core > Directory. Endpoint: DELETE /rest/v1.0/projects/{project_id}/project_memberships/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — the ID of the Project Membership | |
| party_id | Yes | Query string parameter — the ID of the Party (reference user) | |
| project_id | Yes | URL path parameter — unique identifier for the project. |