List Resource
class ListResource
Provides operations for managing allow/block list entries for filtering by sender, recipient, domain, or subject.
Functions
Link copied to clipboard
suspend fun create(direction: ListDirection, type: ListType, block: CreateListEntryBuilder.() -> Unit): ListEntry
Creates a new allow/block list entry.
Link copied to clipboard
Deletes a specific list entry.
Link copied to clipboard
suspend fun list(direction: ListDirection, type: ListType, block: ListEntriesBuilder.() -> Unit = {}): ListEntryList
Lists allow/block entries for a given direction and type.