> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# delete (Kubernetes)

> This operation allows a user to delete resources that have previously been created. Target Properties Property Name Property Code Required Description

This operation allows a user to delete resources that have previously been created.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Kubernetes Home</td><td>`FDKN_KUBERNETES_HOME`</td><td>No</td><td>Kubernetes Home Directory.</td></tr><tr><td>Kubeconfig File Path</td><td>`FDKN_KUBE_CONFIG_PATH`</td><td>No</td><td>Absolute path of kubeconfig file</td></tr><tr><td>Cloud Account</td><td>`FDCLOUD_ACCOUNT_CODE`</td><td>No</td><td>Select Cloud Account</td></tr><tr><td>Directory where Cloud CLI is installed</td><td>`FDCLOUD_CLI_PATH`</td><td>No</td><td>e.g. /usr/local/bin or /u01/azure/bin</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Context</td><td>`FDKN_INP_CONTEXT`</td><td>Yes</td><td>Context (cluster, namespace, and user) to apply changes.</td></tr><tr><td>Resource Type</td><td>`FDKN_INP_RESOURCE_TYPE`</td><td>No</td><td>Kubernetes resource type (e.g. deployment, pod, etc.) (Not required when using filename)</td></tr><tr><td>Search String</td><td>`FDKN_INP_SEARCH_STRING`</td><td>No</td><td>Name of the resource or a search string (Not required when using filename)</td></tr><tr><td>Filename</td><td>`FDKN_INP_FILENAME`</td><td>No</td><td>Filename to be deleted, absolute or relative paths are allowed. (Not required when using Resource Type and Search String)</td></tr><tr><td>Namespace</td><td>`FDKN_INP_NAMESPACE`</td><td>No</td><td>Namespace</td></tr><tr><td>Additional Arguments</td><td>`FDKN_INP_ADDITIONAL_OPTIONS`</td><td>No</td><td>Additional Arguments that are not listed above to append to the delete command. e.g. --now=false --wait=true</td></tr></tbody></table>

# Artifacts

This operation does not produce or consume any artifacts.

# Endpoint Selection

This operation delegates the selection to the workflow developer to determine.

# Endpoint Execution

This operation delegates the execution to the workflow developer to determine.
