Lettermint.Suppressions (Lettermint v2.1.0)

Copy Markdown View Source

The suppression list. Needs :team_token.

Every function takes the options timeout: (milliseconds) last.

Summary

Functions

Removes a suppression. Some removals are reviewed first: then status is not "removed" and ticket_identifier names the review.

Streams every suppression, following next_cursor. Raises the error of a failed page request.

Types

result(value)

@type result(value) :: {:ok, value} | {:error, Lettermint.Error.t()}

Functions

create(client, body, options \\ [])

Adds a suppression.

delete(client, suppression_id, options \\ [])

Removes a suppression. Some removals are reviewed first: then status is not "removed" and ticket_identifier names the review.

iterate(client, query \\ %{}, options \\ [])

Streams every suppression, following next_cursor. Raises the error of a failed page request.

list(client, query \\ %{}, options \\ [])

Lists suppressions, one page at a time. query: Lettermint.Types.ListSuppressionsQuery.t/0.