> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UseRevokeDelegationReturnType

```ts theme={null}
type UseRevokeDelegationReturnType = {
  revokeDelegation: (options?: RevokeDelegationOptions) => Promise<void>;
};
```

Return type of the `useRevokeDelegation` hook.

## Properties

| Property | Type | Description |
| - | - | - |
|  `revokeDelegation` | (`options?`: [`RevokeDelegationOptions`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-hooks/Type-Aliases/RevokeDelegationOptions)) => `Promise`\<`void`> | Function to revoke all active delegations for the current end user. |
