Delete Project Role
delete_project_roleDelete a project role assignment permanently. Provide the role and project IDs to remove the user-role relationship; this cannot be undone.
Instructions
Remove a relationship between a User and a Role in a specified Project. Confirm the target id with the matching show or list tool before calling. id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the project role. 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: id, project_id. Procore API: Core > Project. Endpoint: DELETE /rest/v1.0/project_roles/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — iD of the Project Role | |
| project_id | Yes | Query string parameter — unique identifier for the project. |