unfollowList(__userId_) - daneden/Twift GitHub Wiki

unfollowList(_:userId:)

Enables the authenticated user to unfollow a List.

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

Parameters

  • listId: The ID of the List that you would like the user id to unfollow.
  • userId: The user ID who you are unfollowing 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 the unfollow request