> For the complete documentation index, see [llms.txt](https://polkasafe.gitbook.io/polkasafe-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkasafe.gitbook.io/polkasafe-sdk/guides-and-tutorials/remove-from-address-book.md).

# Remove from Address Book

The SDK provides the ability to remove addresses from the address book of a multisig wallet. This feature allows developers to update the address book and remove unnecessary or outdated entries.

```typescript
const address = '...' // The address you want to remove from your address book
const name = '...' // The name of the address
const { data, error } = await client.removeFromAddressBook(address, name);

if (data){
    console.log(data)
    // use your data
}
else if(error){
    console.log(error)
}
```

#### Response Data

```json
// updated addressbook
[
  {
    "address": "5FHLH4HkrsJ6QmNrQBYFkk3b73XhrfBXNSxnQrp2qsoNimak"
    "name": "Tom",
  },
  {
    "address": "5Fe8gVNXoNoB5tbTc2jtTPBi5VAoBaRmMcjqZGnSZSYtVXiL",
    "name": "Harry"
  },
]
```

[Generic Error](/polkasafe-sdk/guides-and-tutorials/generic-errors.md)
