spws • Docs
spws / addList
addList(
listName
,options
):Promise
<Operation
>
Creates a new list.
• listName: string
• options: Params
= {}
Promise
<Operation
>
// Get list collection for current site
const res = await addList("Announcements", { webURL: "/sites/other", templateId: 100, description: "Demo List" })