Revoke a session policy
Changed onOutcomes:
- status: deleted — rare: no InstallCall retained; record removed.
- status: revoked, onChainCleanupRequired: false — pending grant retained so InstallCall survives a late-landing install (orphan path). Not known on chain yet; no cleanup payload.
- status: revoked, onChainCleanupRequired: true — applied grant still believed installed. Response includes onChainCleanup (uninstallValidation call for the owner wallet: plain tx to the runner, or owner-fallback UserOp). Once teardown is verified, GET no longer returns cleanup for that policy.
Request
- Base URLhttps://api.avaprotocol.org/api/v1
- AuthHTTP bearer
Response
Revocation outcome.
Example response
{
"onChainCleanup": {
"target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info