revoke_scope
Revoke a personal or team-targeted scope grant in Kiln to remove read, push, release, or admin access for an organization.
Instructions
Revoke a scope grant. Supply either tenant_id (to remove a personal grant) or team_id (to remove a team-targeted grant).
Needs the organisation to be on Kiln Business.
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": {
"org_id": "<org_id>",
"scope_key": "<scope_key>",
"capability": "<capability>"
},
"name": "revoke_scope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ask_id | No | The id an earlier ``APPROVAL_REQUIRED`` answer returned. Pass it on the repeat call to learn whether the person approved; omit it on the first call. | |
| org_id | Yes | The org the grant was made in. | |
| team_id | No | The team whose grant is removed. Give exactly one of ``tenant_id`` and ``team_id``. | |
| scope_key | Yes | The grant's scope key, exactly as it was granted. | |
| tenant_id | No | The account whose personal grant is removed. Give exactly one of ``tenant_id`` and ``team_id``. | |
| capability | Yes | The capability revoked: ``"read"``, ``"push"``, ``"release"`` or ``"admin"``. |