deleteListInfo

Use this wire adapter to delete a list view.

See Delete List View Metadata.

Parameter NameTypeDescriptionRequired?
objectApiNameStringThe API name of a supported object.Yes
listViewApiNameStringThe API name of a list view, such as AllAccounts.Yes

If a list view is deleted successfully, there’s no response.

This code example deletes a list view when the button is clicked.

See Also