updateList(id_name_description_isPrivate_) - daneden/Twift GitHub Wiki
updateList(id:name:description:isPrivate:)
Enables the authenticated user to create a new List.
public func updateList(id: List.ID, name: String? = nil, description: String? = nil, isPrivate: Bool? = nil)
Equivalent to PUT /2/lists
Parameters
- id: The ID of the list to be updated
- name: Updates the name of the list
- description: Updates the description of the list
- private: Determines whether the list should be private
- Returns: A response object indicating whether the target list was updated.