Skip to content

createList(name_description_isPrivate_)

daneden edited this page Apr 3, 2022 · 2 revisions

createList(name:description:isPrivate:)

Enables the authenticated user to create a new List.

public func createList(name: String, description: String? = nil, isPrivate: Bool = false)

Equivalent to POST /2/lists

Parameters

  • name: List name (required)
  • description: Description for the list (optional)
  • private: Determines whether the list should be private
  • Returns: A response object containing the name and the ID of the list.
Types
Global Variables
Global Functions
Extensions
Clone this wiki locally