Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/19 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

deleteListInfo

Use this wire adapter to delete a list view.

See Delete List View Metadata.

  • objectApiName–(Required) The API name of a supported object.
  • listViewApiName–(Required) The API name of a list view, such as AllAccounts.

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