deleteByOwnerScreenName

fun Lists.deleteByOwnerScreenName(    slug: String,     ownerScreenName: String,     vararg options: Option): JsonObjectApiAction<TwitterList>

Deletes the specified list. The authenticated user must own the list to be able to destroy it.

Twitter API reference

Receiver

Lists endpoint instance.

Return

JsonObjectApiAction for TwitterList model.

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.

options

Optional. Custom parameters of this request.