---
title: DynsetOperation enum | Wartiva GraphQL API
description: The type of operation to perform on a dynamic set. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/dynset-operation.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `DynsetOperation` enum

The type of operation to perform on a dynamic set.

## Values

| Enum Value | Description |
|---|---|
| `ADD` | Add a new element to the set. |
| `UPDATE` | Update an existing element in the set. |
| `DELETE` | Delete an element from the set. |

## Used by

- [`DynsetExpression`](https://wartiva.com/api-docs/types/dynset-expression.html) type: Dynset represents an nftables dynamic set expression.

## Example

### Example

```json
"ADD"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
