v11

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-023710598.2 KB
Policies

Revoke a session policy

A pending grant (never used on-chain) is deleted outright — nothing was installed, so nothing remains. An active grant stops authorizing immediately, but its on-chain validation still exists until the owner executes uninstallValidation; the response says which case applied.

delete/wallets/{address}/policies/{policyId}

Response

Revocation outcome.

status'deleted' | 'revoked' required

deleted = was pending, nothing was ever installed. revoked = retained for audit.

onChainCleanupRequiredboolean required

True when the grant's validation is still installed on the account and needs the owner's uninstallValidation to clear.