deleteAllowlistIdentifierWithHttpInfo method

Future<Response> deleteAllowlistIdentifierWithHttpInfo(
  1. String identifierId
)

Delete identifier from allow-list

Delete an identifier from the instance allow-list

Note: This method returns the HTTP Response.

Parameters:

  • String identifierId (required): The ID of the identifier to delete from the allow-list

Implementation

Future<http.Response> deleteAllowlistIdentifierWithHttpInfo(
  String identifierId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/allowlist_identifiers/{identifier_id}'
      .replaceAll('{identifier_id}', identifierId);

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