How can I disable web extension?

From manual management.setEnabled() function only disables theme. But I want to disable web extensions too. How can I achieve it?
Here’s an extension I am trying to make.

It only works for themes. But web extension not working. Can anyone one help me here? I am trying to enable/disable web extension.

As the documentation you’ve linked says:

Only extensions whose ‘type’ is ‘theme’ can be enabled and disabled.

It’s not implemented yet, more info here:

1 Like

So, the api is missing. And there’s nothing I can do