Skip to content

addListMember(__to_)

daneden edited this page Jan 19, 2022 · 1 revision

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

Types
Global Variables
Global Functions
Extensions
Clone this wiki locally