updateSAMLConnectionWithHttpInfo method
Future<Response>
updateSAMLConnectionWithHttpInfo(
- String samlConnectionId,
- UpdateSAMLConnectionRequest updateSAMLConnectionRequest
Update a SAML Connection
Updates the SAML Connection whose ID matches the provided id
in the path.
Note: This method returns the HTTP Response
.
Parameters:
-
String samlConnectionId (required): The ID of the SAML Connection to update
-
UpdateSAMLConnectionRequest updateSAMLConnectionRequest (required):
Implementation
Future<http.Response> updateSAMLConnectionWithHttpInfo(
String samlConnectionId,
UpdateSAMLConnectionRequest updateSAMLConnectionRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/saml_connections/{saml_connection_id}'
.replaceAll('{saml_connection_id}', samlConnectionId);
// ignore: prefer_final_locals
Object? postBody = updateSAMLConnectionRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}