deleteABTest method

Future<DeleteABTestResponse> deleteABTest({
  1. required String abTestId,
})

Deletes an A/B test and its associated gateway rules.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw UnauthorizedException. May throw ValidationException.

Parameter abTestId : The unique identifier of the A/B test to delete.

Implementation

Future<DeleteABTestResponse> deleteABTest({
  required String abTestId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/ab-tests/${Uri.encodeComponent(abTestId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteABTestResponse.fromJson(response);
}