# `LogpointApi.Core.UserDefinedList`
[🔗](https://github.com/MikaelFangel/logpoint_api/blob/v2.2.0/lib/logpoint_api/core/user_defined_list.ex#L1)

Manage user-defined lists in Logpoint.

Wraps the [User Defined Lists API](https://docs.logpoint.com/siem/product-docs/readme/siem_api_reference/user-defined-lists-api).

# `import_static`

```elixir
@spec import_static(LogpointApi.Data.Client.t(), String.t(), String.t()) ::
  {:ok, map()} | {:error, term()}
```

Import a static list from CSV or TXT content.

# `list`

```elixir
@spec list(LogpointApi.Data.Client.t(), map()) :: {:ok, map()} | {:error, term()}
```

List user defined lists.

Supported keys in `params`:

  * `:limit` - maximum number of lists to return
  * `:page` - page number for pagination
  * `:return_all_data` - when `true`, returns all list data

## Examples

    UserDefinedList.list(client)
    UserDefinedList.list(client, %{limit: 25, page: 2})

---

*Consult [api-reference.md](api-reference.md) for complete listing*
