TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
HostgroupsGroupsMetersMetricsProduct
PluginsRelaysSourcesSynchronize Data
Tenants
Terms

POST/v1/relays/:relay/togglePlugin

Sets a relay plugin to be disabled or enabled

URL Parameters

relay

Hostname of relay

Request body properties

plugin

Name of plugin

disabled

True or false

Exmaple request

curl https://api.truesight.bmc.com/v1/relays/myrelay/togglePlugin \
-X POST \
-u <email>:<api-token> \
-H "Content-Type: application/json" \
-d '
{
   "plugin": "myplugin",
   "disabled": false
}'