disablePluginWithHttpInfo method
Disable plugin
Disable a previously enabled plugin. Plugins must be enabled in the server's config settings. ##### Permissions Must have manage_system
permission. Minimum server version: 4.4
Note: This method returns the HTTP Response
.
Parameters:
- String pluginId (required):
Implementation
Future<Response> disablePluginWithHttpInfo(
String pluginId,
) async {
// ignore: prefer_const_declarations
final path = r'/plugins/{plugin_id}/disable'.replaceAll('{plugin_id}', pluginId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}