cancel_delegation
Revoke one delegation grant the caller (the issuer) issued, with the term-delegation-cancel-v0 statement signed by the current signing key. The delegated credential itself never authorizes cancellation, and a delegate can grant nothing (single-hop). Grant issuance is REST-only; this tool mirrors the REST cancellation route.
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": {
"subject_id": "<subject_id>",
"delegate_public_key": "<delegate_public_key>",
"created": "<created>",
"signature": "<signature>"
},
"name": "cancel_delegation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| signature | Yes | Ed25519 signature over the LF-joined term-delegation-cancel-v0 statement. | |
| subject_id | Yes | ||
| delegate_public_key | Yes |