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

# Delete a procedural agent



## OpenAPI

````yaml api-reference/openapi3.json delete /procedural_agents/{id}
openapi: 3.0.0
info:
  title: Operator API
  version: '2025-06-19'
  description: API for Operator
servers:
  - url: https://api.operator.xyz
security: []
paths:
  /procedural_agents/{id}:
    delete:
      tags:
        - Procedural agents
      summary: Delete a procedural agent
      parameters:
        - name: Operator-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2025-06-19'
          description: The API version to use.
          example: '2025-06-19'
        - name: id
          in: path
          required: true
          schema:
            description: Unique identifier for the procedural agent, e.g. `pa_8qm9JBCiTe7`
            type: string
          description: Unique identifier for the procedural agent, e.g. `pa_8qm9JBCiTe7`
      responses:
        '200':
          description: Successful response.
        '400':
          description: The procedural agent cannot be deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  data: {}
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  data: {}
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````