Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member
Is it possible to enable/disable a plugin with REST API?
Option 1
It is possible with the /api/plugins endpoint. Here is the script we use for a single enable/disable of a plugin;
For enabling set isEnabled to True 
For disabling set isEnabled to False
import requests
url = "URL/api/v1/plugins"
payload = "[{ \"name\": \"metadata\", \"lastUpdate\": \"2019-08-11T15:21:36.491Z\", \"version\": \"0\", \"isEnabled\": false, \"folderName\": \"metadata\"}]"
headers = {
'accept': "application/json",
'Content-Type': "application/json",
'cache-control': "no-cache",
'Authorization': 'Bearer  TOKEN'
response = requests.request("PATCH", url, data=payload, headers=headers)
Version history
Last update:
‎02-14-2024 01:41 PM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: