stopExperiment method

Future<StopExperimentResponse> stopExperiment({
  1. required String id,
})

Stops the specified experiment.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter id : The ID of the experiment.

Implementation

Future<StopExperimentResponse> stopExperiment({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/experiments/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return StopExperimentResponse.fromJson(response);
}