postIntegrationsByProviderVerifyWithHttpInfo method
Re-checks a CONNECTED apikey connector's stored credential against the provider, live (hanzo connector verify).
Re-checks a CONNECTED apikey connector's stored credential against the provider, live (hanzo connector verify). Org-scoped (any member may check status); the credential is read from KMS, verified, and NEVER returned or logged. A verification failure is reported as {active:false}, not an error — the console/ CLI renders it. Only apikey providers support verify (OAuth tokens are checked at use, not re-verified here).
Note: This method returns the HTTP Response.
Parameters:
- String provider (required): Provider is the registry id of the connector — "slack", "github", "cloudflare". Unknown ids are 404, as are the user-plane (/v1/integrations/connectors) providers, which this surface never resolves.
Implementation
Future<Response> postIntegrationsByProviderVerifyWithHttpInfo(String provider,) async {
// ignore: prefer_const_declarations
final path = r'/v1/integrations/{provider}/verify'
.replaceAll('{provider}', provider);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}