For the complete documentation index, see llms.txt. This page is also available as Markdown.

DeleteKey

This is Task do delete key from Redis database.

Task version: 1.2.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Key : String

Key to delete

Default: - Example: Foo

Name
Description

ThrowErrorOnFailure : Boolean

True: Throw an exception.

False: Error will be added to the Result.Error.AdditionalInformation list instead of stopping the Task.

Default: True Example: true

ErrorMessageOnFailure : String

Message what will be used when error occurs

Default: - Example: Task failed during execution

Name
Description

ConnectionMethod : ConnectionMethod

Method to use to connect to Redis

Possible values:

  • SimpleConnectionString: Using basic connection string with all credentials needed innit

  • MicrosoftEntraId: Using Microsoft Entra ID to get token authentication

Default: SimpleConnectionString Example: ConnectionMethod.SimpleConnectionString

ConnectionString : String

Connection string to Redis.

Default: - Example: 127.0.0.1:6379

Task Result

Name
Description

Success : Boolean

Success flag Example: true

Error : Error

Error info

Error.Message : String

Error message

Error.AdditionalInfo : Object

Object with additional information

Task Changelog

Changelog for Task Frends.Redis.DeleteKey.

[1.2.0] - 2026-03-03

Added

  • Add support for Microsoft Entra ID

[1.1.0] - 2025-07-31

Changed

  • Make default error message empty by default

[1.0.0] - 2025-05-13

Changed

  • Initial implementation

Last updated

Was this helpful?