First we need to determine the pattern ID. To do this, go to the "Management" -> "Index Patterns" tab, and then copy the URL of the pattern:
The string below will be the ID we are looking for:
Pattern can be removed using the command below:
DELETE /api/saved_objects/index-pattern/ef872520-5962-11ea-b5b3-e5467a3a6c16