deleteSAMLConnectionWithHttpInfo method

Future<Response> deleteSAMLConnectionWithHttpInfo(
  1. String samlConnectionId
)

Delete a SAML Connection

Deletes 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 delete

Implementation

Future<http.Response> deleteSAMLConnectionWithHttpInfo(
  String samlConnectionId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/saml_connections/{saml_connection_id}'
      .replaceAll('{saml_connection_id}', samlConnectionId);

  // 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,
  );
}