User

Uninstall an application for a user

Changed on

Generates EIP2771 data to sign for revoking permission for an agent to use a specific app version

post/user/{appId}/uninstall-app

Request

  • Base URL
    https://api.heyvincent.ai
  • URL
    https://api.heyvincent.ai/user/{appId}/uninstall-app
  • Auth
    none declared

Path parameters

appIdnumber required

ID of the target application

Request body

appVersioninteger required

The version of the app to uninstall

userControllerAddressstring required

EOA address that controls the user smart wallet

sponsorGasboolean

If true (default), returns EIP2771 typed data for sponsored gas relay. If false, returns raw transaction data for direct EOA submission (user pays gas).

Example request

{
  "appVersion": 1,
  "userControllerAddress": "0x123456789012345678901234567890123456abcd",
  "sponsorGas": true
}

Response

Uninstall data returned successfully

uninstallDataToSignobject

The EIP2771 TypedData to sign for sponsored gas relay. Present when sponsorGas=true (default).

Example response

{
  "rawTransaction": {
    "to": "0x1234567890123456789012345678901234567890",
    "data": "0x..."
  }
}

Changes

    • breaking

      the response property became optional for the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      endpoint added