deleteCaptableConvertiblesByIdWithHttpInfo method

Future<Response> deleteCaptableConvertiblesByIdWithHttpInfo(
  1. String id
)

Removes one of the caller org's convertible notes, taking its principal out of the cap table's unconverted-instrument totals.

Removes one of the caller org's convertible notes, taking its principal out of the cap table's unconverted-instrument totals. An id this org does not hold is not found.

Note: This method returns the HTTP Response.

Parameters:

  • String id (required): ID is the convertible note to delete.

Implementation

Future<Response> deleteCaptableConvertiblesByIdWithHttpInfo(String id,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/captable/convertibles/{id}'
    .replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  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,
  );
}