deletePostgenIntegrationsWithHttpInfo method
Delete single integration by ID. Also deletes credentials from GCP Secret Manager.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> deletePostgenIntegrationsWithHttpInfo(String companyId, String integrationId,) async {
// ignore: prefer_const_declarations
final path = r'/companies/{company_id}/postgen_integrations/{integration_id}'
.replaceAll('{company_id}', companyId)
.replaceAll('{integration_id}', integrationId);
// 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,
);
}