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

# removeOwner

> Remove an ECDSA owner

## Import

```ts theme={null}
import { removeOwner } from '@rhinestone/sdk/actions/ecdsa'
```

## Usage

```ts theme={null}
const transaction = await account.prepareTransaction({
  chain,
  calls: [removeOwner(prevOwner, ownerToRemove)],
})
```

## Parameters

<ParamField path="prevOwner" type="`0x${string}`" required>
  Previous owner address
</ParamField>

<ParamField path="ownerToRemove" type="`0x${string}`" required>
  Owner to remove
</ParamField>

## Returns

<ResponseField name="call" type="CalldataInput">
  Call to remove the owner
</ResponseField>
