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

# Delete a Representative

> Permanently deletes one representative in your company. To keep the record but mark the representative inactive, set `active` to false instead. Requires the matching representative permission on your API user; other callers receive a 403. Contact Sela staff to grant it.



## OpenAPI

````yaml /Sela_API.yaml delete /api/representatives/{id}/
openapi: 3.0.3
info:
  title: Sela API
  version: 1.0.2
  description: >-
    Create and manage leads, configure outbound webhook subscriptions, and use
    customer-specific lead ingestion workflows. Unless an endpoint says
    otherwise, authenticate with `Authorization: Token <api-key>`.
servers:
  - url: https://api.trysela.com/
    description: Production API
security: []
tags:
  - name: Leads
    description: Create, retrieve, update, and schedule customer leads.
  - name: Call Control
    description: Pause or resume outbound calling for an API user.
  - name: Lead Types
    description: >-
      Discover lead categories and the public metadata fields accepted for each
      one.
  - name: Representatives
    description: >-
      Manage your company's representatives, such as loan officers, and their
      personal hours.
  - name: Webhooks
    description: >-
      Manage subscriptions that deliver lead and call events to customer
      systems.
  - name: Lead Ingestion
    description: >-
      Submit provider-specific lead payloads through ingestion URLs configured
      by Sela.
  - name: File Ingestion
    description: Request temporary upload URLs for configured CSV ingestion sources.
paths:
  /api/representatives/{id}/:
    delete:
      tags:
        - Representatives
      summary: Delete a Representative
      description: >-
        Permanently deletes one representative in your company. To keep the
        record but mark the representative inactive, set `active` to false
        instead. Requires the matching representative permission on your API
        user; other callers receive a 403. Contact Sela staff to grant it.
      operationId: representatives_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this representative.
          required: true
      responses:
        '204':
          description: Representative deleted successfully.
        '401':
          description: API token is missing or invalid.
        '403':
          description: The API user does not have the required representative permission.
        '404':
          description: Representative not found.
      security:
        - tokenAuth: []
components:
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: |-
        Token-based authentication. Format: `Token <your_token>`

        Example: `Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.