> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.zoho.crm.DeleteLead

- Component: `appmixer.zoho.crm.DeleteLead`
- Kind: Action
- Version: 2.0.0
- Visibility: Public
- Connector: [appmixer.zoho.crm 2.4.5](https://connectors.appmixer.com/connector/appmixer.zoho.crm/2.4.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.zoho.crm/2.4.5/component/appmixer.zoho.crm.DeleteLead>

This component deletes existing lead.

## Input ports

### Port `lead`

| Field | Type | Description |
| --- | --- | --- |
| Lead Id (`leadId`) | select | Select lead. |

## Output ports

### Port `deletedLead`

| Field | Type | Description |
| --- | --- | --- |
| Lead ID (`id`) | - | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.zoho.crm.DeleteLead",
  "author": "Zulkafil Tabish <zulkafil@client.io>",
  "description": "This component deletes existing lead.",
  "version": "2.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:zoho"
  },
  "quota": {
    "manager": "appmixer:zoho",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "lead",
      "schema": {
        "type": "object",
        "properties": {
          "leadId": {
            "type": "string"
          }
        },
        "required": [
          "leadId"
        ]
      },
      "inspector": {
        "inputs": {
          "leadId": {
            "type": "select",
            "label": "Lead Id",
            "index": 1,
            "source": {
              "url": "/component/appmixer/zoho/crm/ListRecords?outPort=out",
              "data": {
                "transform": "./transformers#personsToSelectArray",
                "messages": {
                  "in": {
                    "allAtOnce": true,
                    "moduleName": "Leads"
                  }
                }
              }
            },
            "tooltip": "Select lead."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "deletedLead",
      "options": [
        {
          "label": "Lead ID",
          "value": "id"
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
