deleteIntegrationsConnectorsByIdWithHttpInfo method
Forgets a connector: every custodied secret, then the row.
Forgets a connector: every custodied secret, then the row. Idempotent — dropping a never-connected id still answers {disconnected:true} (disconnect() parity). No provider Revoke: none of the user-plane providers exposes a revoke endpoint.
Note: This method returns the HTTP Response.
Parameters:
- String id (required): ID is the connector id, provider + ":" + label ("openai:default") — the auth-profile-id shape. Another user's id is simply no row, so 404.
Implementation
Future<Response> deleteIntegrationsConnectorsByIdWithHttpInfo(String id,) async {
// ignore: prefer_const_declarations
final path = r'/v1/integrations/connectors/{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,
);
}