async DeleteUserMetadata({metadataSubtree="/"}) {
    const libraryId = this.client.contentSpaceLibraryId;
    const objectId = Utils.AddressToObjectId(await this.WalletAddress());

    const editRequest = await this.client.EditContentObject({libraryId, objectId});

    await this.client.DeleteMetadata({libraryId, objectId, writeToken: editRequest.write_token, metadataSubtree});
    await this.client.FinalizeContentObject({libraryId, objectId, writeToken: editRequest.write_token});

    this.__InvalidateCache();
  }
/**
   * Delete the specified subtree from the users profile metadata
   *
   * @namedParams
   * @param {string=} metadataSubtree - Subtree to delete - deletes all metadata if not specified
   */
Delete the specified subtree from the users profile metadata
@namedParams
@param {string=} metadataSubtree - Subtree to delete - deletes all metadata if not specified
Delete the specified subtree from the users profile metadata @namedParams @param { string = } metadataSubtree - Subtree to delete - deletes all metadata if not specified
async DeleteUserMetadata({metadataSubtree="/"}) {
    const libraryId = this.client.contentSpaceLibraryId;
    const objectId = Utils.AddressToObjectId(await this.WalletAddress());
    const editRequest = await this.client.EditContentObject({libraryId, objectId});
    await this.client.DeleteMetadata({libraryId, objectId, writeToken: editRequest.write_token, metadataSubtree});
    await this.client.FinalizeContentObject({libraryId, objectId, writeToken: editRequest.write_token});
    this.__InvalidateCache();
  }
async DeleteUserMetadata ( { metadataSubtree = "/" } ) { const libraryId = this . client . contentSpaceLibraryId ; const objectId = Utils . AddressToObjectId ( await this . WalletAddress ( ) ) ; const editRequest = await this . client . EditContentObject ( { libraryId , objectId } ) ; await this . client . DeleteMetadata ( { libraryId , objectId , writeToken : editRequest . write_token , metadataSubtree } ) ; await this . client . FinalizeContentObject ( { libraryId , objectId , writeToken : editRequest . write_token } ) ; this . __InvalidateCache ( ) ; }
Delete the specified subtree from the users profile metadata
 @namedParams
 @param {string=} metadataSubtree - Subtree to delete - deletes all metadata if not specified
Delete the specified subtree from the users profile metadata @namedParams @param { string = } metadataSubtree - Subtree to delete - deletes all metadata if not specified