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

# Delete Lead

> Deletes a record from the Lead table based on passed parameters and implicit access controls.



## OpenAPI

````yaml https://perch-api-docs.s3.ca-central-1.amazonaws.com/perch-partner.spec.json delete /leads/{id}
openapi: 3.1.0
info:
  title: Perch Partner Web API
  version: v1
  contact:
    name: API Support
    url: https://myperch.io
    email: support@myperch.io
  description: This is the API used by the Perch Partner portal.
servers:
  - description: DIT
    url: https://api.partner.dit.myperch.io/v1
  - description: Production
    url: https://api.partner.myperch.io/v1
security:
  - x-api-key: []
tags:
  - name: 'Workflows: Firm Member'
    description: 'Operations involving Workflows: Firm Member'
  - name: Lead
    description: Operations involving Lead
  - name: Plan
    description: Operations involving Plan
paths:
  /leads/{id}:
    delete:
      tags:
        - Lead
      summary: Delete Lead
      description: >-
        Deletes a record from the Lead table based on passed parameters and
        implicit access controls.
      operationId: delete-Lead
      parameters:
        - in: path
          name: id
          description: The id of the record to delete.
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Successful response
        '404':
          description: No record found with the given id and user access controls.
components:
  securitySchemes:
    x-api-key:
      name: x-api-key
      type: apiKey
      in: header

````