aiAccountOrgsIntegrationCredentialPartialUpdateWithHttpInfo method
Future<Response>
aiAccountOrgsIntegrationCredentialPartialUpdateWithHttpInfo(
- String org, {
- PatchedIntegrationCredential? patchedIntegrationCredential,
API View to manage Integration credentials. Sample for value field : {\"key\": \"sk-31343432432434324324324324\"}
Note: This method returns the HTTP Response.
Parameters:
-
String org (required):
-
PatchedIntegrationCredential patchedIntegrationCredential:
Implementation
Future<Response> aiAccountOrgsIntegrationCredentialPartialUpdateWithHttpInfo(String org, { PatchedIntegrationCredential? patchedIntegrationCredential, }) async {
// ignore: prefer_const_declarations
final path = r'/api/ai/account/orgs/{org}/integration-credential/'
.replaceAll('{org}', org);
// ignore: prefer_final_locals
Object? postBody = patchedIntegrationCredential;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}