> ## 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 (Perforce)

> Deletes file(s) from the Perforce depot. You must first perform checkout prior to calling this operation in workflow. Files being deleted must be exis

Deletes file(s) from the Perforce depot. You must first perform checkout prior to calling this operation in workflow. Files being deleted must be existing in Local Workspace Path when this operation is invoked.

# 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>Instance Code</td><td>`FDPF_INP_PERFORCE_INSTANCE_CODE`</td><td>Yes</td><td>The Perforce instance to use.This SCM Instance must be configured in FlexDeploy prior to using the plugin. Instance is used to retrieve information like URL, User and Password.</td></tr><tr><td>Depot Path</td><td>`FDPF_INP_DEPOT_PATH`</td><td>Yes</td><td>The Deport path in perforce repository.</td></tr><tr><td>Local Workspace Path</td><td>`FDPF_INP_LOCAL_PATH`</td><td>Yes</td><td>The path to the workspace folder which contains files to be deleted, this would be inside the FD\_TEMP\_DIR.</td></tr><tr><td>File List</td><td>`FDPF_INP_FILELIST`</td><td>Yes</td><td>A space-separated list of files to delete.</td></tr><tr><td>Commit Message</td><td>`FDPF_INP_COMMIT_MESSAGE`</td><td>No</td><td>The message to send with the commit.</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
