MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / deleteAddressBook

Method deleteAddressBook

lib/models/contacts.ts:190–201  ·  view source on GitHub ↗
(
    userId: string,
    addressBookId: string,
  )

Source from the content-addressed store, hash-verified

188 }
189
190 static async deleteAddressBook(
191 userId: string,
192 addressBookId: string,
193 ): Promise<void> {
194 const client = await getClient(userId);
195
196 const addressBookUrl = `${contactsConfig.cardDavUrl}/${userId}/${addressBookId}/`;
197
198 await client.deleteObject({
199 url: addressBookUrl,
200 });
201 }
202}

Callers 1

postFunction · 0.80

Calls 2

deleteObjectMethod · 0.80
getClientFunction · 0.70

Tested by

no test coverage detected