deleteMissionProfile method

Future<MissionProfileIdResponse> deleteMissionProfile({
  1. required String missionProfileId,
})

Deletes a mission profile.

May throw InvalidParameterException. May throw DependencyException. May throw ResourceNotFoundException.

Parameter missionProfileId : UUID of a mission profile.

Implementation

Future<MissionProfileIdResponse> deleteMissionProfile({
  required String missionProfileId,
}) async {
  ArgumentError.checkNotNull(missionProfileId, 'missionProfileId');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/missionprofile/${Uri.encodeComponent(missionProfileId)}',
    exceptionFnMap: _exceptionFns,
  );
  return MissionProfileIdResponse.fromJson(response);
}