addListMember(__to_) - daneden/Twift GitHub Wiki

addListMember(_:to:)

Enables the authenticated user to add a member to a List they own.

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

Parameters

  • userId: The ID of the user you wish to add as a member of the List.
  • listId: The ID of the List you are adding a member to.

Returns

A response object containing the result of this membership request