enablePluginWithHttpInfo method
Enable plugin
Enable a previously uploaded 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> enablePluginWithHttpInfo(
String pluginId,
) async {
// ignore: prefer_const_declarations
final path = r'/plugins/{plugin_id}/enable'.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,
);
}