unpinList(__userId_) - daneden/Twift GitHub Wiki

unpinList(_:userId:)

Enables the authenticated user to unpin a List.

public func unpinList(_ listId: List.ID, userId: User.ID)

Equivalent to DELETE /2/users/:user_id/pinned_lists/:list_id

Parameters

  • listId: The ID of the List that you would like the user id to unpin.
  • userId: The user ID who you are unpinning a List on behalf of. It must match your own user ID or that of an authenticating user.

Returns

A response object containing the result of this unpin list request