removeMember

fun Lists.removeMember(    listId: Long,     userId: Long,     vararg options: Option): EmptyApiAction

Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

Parameters

listId

The numerical id of the list.

userId

The ID of the user for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.

options

Optional. Custom parameters of this request.


fun Lists.removeMember(    listId: Long,     screenName: String,     vararg options: Option): EmptyApiAction

Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

Parameters

listId

The numerical id of the list.

screenName

The screen name of the user for whom to return results. Helpful for disambiguating when a valid screen name is also a user ID.

options

Optional. Custom parameters of this request.


fun Lists.removeMember(    slug: String,     ownerScreenName: String,     userId: Long,     vararg options: Option): EmptyApiAction

Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

Parameters

slug

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.

ownerScreenName

The screen name of the user who owns the list being requested by a slug.

userId

The ID of the user for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.

options

Optional. Custom parameters of this request.


fun Lists.removeMember(    slug: String,     ownerScreenName: String,     screenName: String,     vararg options: Option): EmptyApiAction

Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

Parameters

slug

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.

ownerScreenName

The screen name of the user who owns the list being requested by a slug.

screenName

The screen name of the user for whom to return results. Helpful for disambiguating when a valid screen name is also a user ID.

options

Optional. Custom parameters of this request.


fun Lists.removeMember(    slug: String,     ownerId: Long,     userId: Long,     vararg options: Option): EmptyApiAction

Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

Parameters

slug

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.

ownerId

The user ID of the user who owns the list being requested by a slug.

userId

The ID of the user for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.

options

Optional. Custom parameters of this request.


fun Lists.removeMember(    slug: String,     ownerId: Long,     screenName: String,     vararg options: Option): EmptyApiAction

Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

Parameters

slug

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.

ownerId

The user ID of the user who owns the list being requested by a slug.

screenName

The screen name of the user for whom to return results. Helpful for disambiguating when a valid screen name is also a user ID.

options

Optional. Custom parameters of this request.