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

# Delete Agent

> Deletes an agent from the system



## OpenAPI

````yaml api-reference/openapi.json delete /api/v1/agents/{id}/
openapi: 3.0.3
info:
  title: Wassist API
  version: 1.0.0
  description: API for building WhatsApp AI agents
servers:
  - url: https://backend.wassist.app
    description: Production
  - url: http://localhost:8050
    description: Development
security: []
tags:
  - name: Agents
    description: Create and manage AI agents
  - name: Conversations
    description: Chat conversations and messages
  - name: WhatsApp
    description: WhatsApp Business account management
  - name: Contacts
    description: Contact management
  - name: Integrations
    description: Third-party integrations
paths:
  /api/v1/agents/{id}/:
    delete:
      tags:
        - api
      description: |-
        ViewSet for managing agents (bots).

        Endpoints:
        - GET /agents/ - List all agents
        - POST /agents/ - Create a new agent
        - GET /agents/{id}/ - Get agent details
        - PUT /agents/{id}/ - Update agent with all sub-resources
        - DELETE /agents/{id}/ - Delete an agent
        - POST /agents/{id}/deploy/ - Deploy to WhatsApp number
        - POST /agents/{id}/share/ - Share with another user
        - POST /agents/{id}/unshare/ - Remove sharing
      operationId: api_v1_agents_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: string
          required: true
      responses:
        '204':
          description: No response body
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key authentication. Pass your API key in the X-API-Key header.

````