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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"userId": "<userId>",
"confirm": "<confirm>"
},
"name": "revoke_project_grant"
}
}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. |