Revoke a project grant
revoke_project_grantWithdraws one member's direct grant on a project at once; access they hold through their role or a rule stays. Mirrors the remove button on a grant in a project's Access tab; needs project Admin on that project. Destructive: call without confirm first, put the sentence it answers to the person, and pass confirm: true only if they agree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The member's userId, as list_members or get_project_access returns it. | |
| confirm | Yes | True only once the person has agreed to the withdrawal. | |
| project | No | The project's slug; omitted, the organization's only live project. |