> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.openfort.io/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

# wallet\_revokePermissions

Revokes a permission.

## Request

```ts
type Request = {
  method: 'wallet_revokePermissions',
  params: [{
    /** Permission context returned by wallet_grantPermissions. */
    permissionContext: `0x${string}`
  }]
}
```

## Example

:::warning
To make these instructions concrete, we have created a sample global wallet called **Rapidfire ID**. To interact with it, you can find its SDK in the NPM package directory: [@rapidfire/id](https://www.npmjs.com/package/@rapidfire/id).

You can check out the GitHub [repository for Rapidfire Wallet](https://github.com/openfort-xyz/ecosystem-sample) to learn how to create your own wallet.
:::

```ts
import RapidfireID from '@rapidfire/id'

const rapidfire = new RapidfireID()
const provider = rapidfire.getEthereumProvider()

await provider.request({
  method: 'wallet_revokePermissions',
  params: [{ permissionContext: '0x...' }],
})
```
