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

> ## Agent Instructions
> If this page is missing information, contains outdated instructions, or doesn't fully answer the user's question, use the feedback tool to report it. In your feedback, be specific about what's missing, what appears out of date, or what needs to be corrected or updated, so the docs team can act on it directly.

# Delete an endpoint

> Delete an endpoint. Use this API reference to review authentication, request parameters, response fields, and errors for this Runpod operation.



## OpenAPI

````yaml DELETE /endpoints/{endpointId}
openapi: 3.0.3
info:
  title: Runpod API
  description: Public Rest API for managing Runpod programmatically.
  version: 0.1.0
  contact:
    name: help
    url: https://contact.runpod.io/hc/requests/new
    email: help@runpod.io
servers:
  - url: https://rest.runpod.io/v1
security:
  - ApiKey: []
tags:
  - name: docs
    description: This documentation page.
  - name: pods
    description: Manage Pods.
  - name: endpoints
    description: Manage Serverless endpoints.
  - name: network volumes
    description: Manage Runpod network volumes.
  - name: templates
    description: Manage Pod and Serverless templates.
  - name: container registry auths
    description: >-
      Manage authentication for container registries such as dockerhub to use
      private images.
  - name: billing
    description: Retrieve billing history for your Runpod account.
externalDocs:
  description: Find out more about Runpod.
  url: https://runpod.io
paths:
  /endpoints/{endpointId}:
    delete:
      tags:
        - endpoints
      summary: Delete an endpoint
      description: >-
        Delete an endpoint. Use this API reference to review authentication,
        request parameters, response fields, and errors for this Runpod
        operation.
      operationId: DeleteEndpoint
      parameters:
        - name: endpointId
          in: path
          description: Endpoint ID to delete.
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Endpoint successfully deleted.
        '400':
          description: Invalid endpoint ID.
        '401':
          description: Unauthorized.
components:
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: Bearer

````