fields.addBoolean(&quot;Temp Field&quot;, { Group: &quot;My Group&quot; });
await sp.web.lists.getByTitle(&quot;My List&quot;).fields.addBoolean(&quot;Temp Field 2&quot;, { Group: &quot;My Group&quot; });

// delete one or more fields from web, returns boolean
const result = await sp.web.fields.getByTitle(&quot;Temp Field&quot;).delete();
const result2 = await sp.web.fields.getByTitle(&quot;Temp Field 2&quot;).delete();


// delete one or more fields from list 'My List', returns boolean
const result = await