deleteSchemeWithHttpInfo method
Delete a scheme
Soft deletes a scheme, by marking the scheme as deleted in the database. ##### Permissions Must have manage_system
permission. Minimum server version: 5.0
Note: This method returns the HTTP Response
.
Parameters:
- String schemeId (required): ID of the scheme to delete
Implementation
Future<Response> deleteSchemeWithHttpInfo(
String schemeId,
) async {
// ignore: prefer_const_declarations
final path = r'/schemes/{scheme_id}'.replaceAll('{scheme_id}', schemeId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}