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

# Delete External Function

> Deletes the external function with the specified ID.



## OpenAPI

````yaml DELETE /api/v1/external-functions/{functionId}
openapi: 3.1.0
info:
  title: PlayAI API
  version: 1.0.0
  description: |
    A single, combined OpenAPI specification that merges:
      • PlayAI Agent API
      • PlayAI PlayNote API
      • PlayAI Text-to-Speech (TTS) API
      • PlayAI Dialog Turbo API

    This file contains all endpoints, schemas, and components 
    from the four original specs. See "Merged Issues" below 
    for notes on how certain conflicts were resolved.
servers:
  - url: https://api.play.ai
security:
  - ApiKeyAuth: []
    XUserIdAuth: []
paths:
  /api/v1/external-functions/{functionId}:
    delete:
      description: Delete an external function.
      parameters:
        - name: functionId
          in: path
          description: The external function's ID.
          required: true
          schema:
            $ref: '#/components/schemas/ExternalFunctionId'
        - name: accept
          in: header
          required: false
          schema:
            type: string
            enum:
              - application/json
      responses:
        '204':
          description: External function deleted.
      security:
        - ApiKeyAuth: []
          XUserIdAuth: []
components:
  schemas:
    ExternalFunctionId:
      description: The unique ID for each external function.
      type: string
      example: f0gZrOKBKL7veJ6o1M
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >
        Your secret API key from [PlayAI](https://play.ai/api/keys), formatted
        as `Bearer YOUR_SECRET_API_KEY`.
    XUserIdAuth:
      type: apiKey
      in: header
      name: X-USER-ID
      description: |
        Your unique user ID from [PlayAI](https://play.ai/api/keys).
      x-prompt: What is your PlayAI user ID?

````