deleteRuleset method
Deletes a ruleset.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter name :
The name of the ruleset to be deleted.
Implementation
Future<DeleteRulesetResponse> deleteRuleset({
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/rulesets/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
return DeleteRulesetResponse.fromJson(response);
}