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

# Delete Agent

> Deletes an existing AI call agent by its ID



## OpenAPI

````yaml DELETE /agent/update/{agent_id}/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /agent/update/{agent_id}/:
    delete:
      description: Deletes an existing AI call agent by its ID
      parameters:
        - name: Company-Name
          in: header
          description: The name of the schema to be used for the request
          required: true
          schema:
            type: string
        - name: agent_id
          in: path
          description: Unique identifier for the AI call agent to delete
          required: true
          schema:
            type: string
            example: 16b980523634a6dc504898cda492e939
      responses:
        '200':
          description: AI call agent deletion response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    description: Indicates whether the deletion was successful
                  message:
                    type: string
                    description: Message describing the result of the deletion
                    example: deleted success
                required:
                  - success
                  - message
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````