deleteCaptableStakeholdersByIdWithHttpInfo method
Removes one of the caller org's stakeholders.
Removes one of the caller org's stakeholders. It REFUSES to orphan issued equity: a holder that still holds share certificates or option grants cannot be deleted, and answers 400 saying so — release or transfer the holdings first. An id this org does not hold is not found.
Note: This method returns the HTTP Response.
Parameters:
- String id (required): ID is the stakeholder to delete.
Implementation
Future<Response> deleteCaptableStakeholdersByIdWithHttpInfo(String id,) async {
// ignore: prefer_const_declarations
final path = r'/v1/captable/stakeholders/{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,
);
}