Delete Delete

yaml
type: "io.kestra.plugin.core.kv.Delete"

Deletes a KV pair.

Examples

Delete a KV pair.

yaml
id: kv_store_delete
namespace: company.team

tasks:
  - id: kv_delete
    type: io.kestra.plugin.core.kv.Delete
    key: my_variable
    namespace: dev # the current namespace of the flow will be used by default

Properties

errorOnMissing

  • Type: boolean
  • Dynamic:
  • Required:

Whether to fail if there is no value for the given key.

key

  • Type: string
  • Dynamic: ✔️
  • Required:

The key for which to delete the value.

namespace

  • Type: string
  • Dynamic: ✔️
  • Required:

The namespace on which to set the value.

Outputs

deleted

  • Type: boolean
  • Required:
  • Default: false

Whether the deletion was successful and had a value.

Definitions

Was this page helpful?