riskSetReferenceWithHttpInfo method

Future<Response> riskSetReferenceWithHttpInfo(
  1. String set_,
  2. SetReferenceIn setReferenceIn
)

Writes your organisation's own allow and deny entries over a set.

Writes your organisation's own allow and deny entries over a set. Idempotent on the key: writing the same entry twice is one entry, and writing it again replaces the verdict and the note. The whole batch is one transaction, so a batch that would cross the per-set bound writes nothing rather than half of itself — a half-applied deny list is worse than a refused one, because nobody can tell which half applied. Your entries are held in your organisation's own store and are never visible to another organisation, and they never change what any other organisation sees. The shared baseline is not writable from here at all.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> riskSetReferenceWithHttpInfo(String set_, SetReferenceIn setReferenceIn,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/reference/{set}'
    .replaceAll('{set}', set_);

  // ignore: prefer_final_locals
  Object? postBody = setReferenceIn;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>['application/json'];


  return apiClient.invokeAPI(
    path,
    'PUT',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}