 sp.web.lists.getByTitle(&quot;My List&quot;).fields.getByTitle(&quot;Temp Field&quot;).delete();
const result2 = await sp.web.lists.getByTitle(&quot;My List&quot;).fields.getByTitle(&quot;Temp Field 2&quot;).delete();
</code></pre>
<h3 id="update-a-field">Update a Field<a class="headerlink" href="#update-a-field" title="Permanent link">&para;</a></h3>
<p>Use the update method to update a field.</p>
<pre><code class="language-TypeScript">import { spfi } from &quot;@pnp/sp&quot;;
import &quot;@pnp/sp/webs&qu