#' POST lists/members/destroy
#'
#' @seealso \url{https://dev.twitter.com/rest/reference/post/lists/members/destroy}
#' @param list_id
#' The numerical id of the list.
#' @param slug
#' You can identify a list by its slug instead of its numerical id. If you decide to do so, note that
#' youÂfll also have to specify the list owner using the owner_id or owner_screen_name parameters.
#' @param user_id
#' The ID of the user to remove from the list. Helpful for disambiguating when a valid user ID is also
#' a valid screen name.
#' @param screen_name
#' The screen name of the user for whom to remove from the list. Helpful for disambiguating when a
#' valid screen name is also a user ID.
#' @param owner_screen_name
#' The screen name of the user who owns the list being requested by a slug.
#' @param owner_id
#' The user ID of the user who owns the list being requested by a slug.
#' @export
twtr_lists_members_destroy <- function(list_id = NULL, slug = NULL, user_id = NULL, screen_name = NULL, owner_screen_name = NULL, owner_id = NULL,
...) {
twtr_api("POST", "https://api.twitter.com/1.1/lists/members/destroy.json", body = list(list_id = list_id, slug = slug, user_id = user_id,
screen_name = screen_name, owner_screen_name = owner_screen_name, owner_id = owner_id, ...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.