Set user project access
set_user_project_accessGrant or revoke a user's access to one project. Admin only. For customer accounts this controls which projects they can see; for scoped staff it controls their project scope. Full-access roles (admin/team lead/supporter/…) already see all projects, so assignments only matter for customers and scoped roles.
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": {
"user_id": "<user_id>",
"project_id": "<project_id>",
"action": "<action>"
},
"name": "set_user_project_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Grant (add) or revoke (remove) access | |
| user_id | Yes | support_users.id | |
| project_id | Yes | Project UUID |