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

# Delete Endpoint

> Permanently delete a serverless endpoint

Permanently delete a serverless endpoint. This action cannot be undone and will immediately stop the endpoint if it's currently running.

> [!WARNING]
>
> Deleting an endpoint is irreversible. Any running executions will be terminated immediately.

## Path Parameters

* `endpointId`: The unique identifier of the endpoint to delete

## Example Usage

```bash
curl -X DELETE "https://api.tensorone.ai/v2/endpoints/ep_1234567890abcdef" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

Returns HTTP 204 (No Content) on successful deletion.

## Error Responses

* `404 Not Found`: Endpoint doesn't exist or you don't have access
* `401 Unauthorized`: Invalid or missing API key

## Best Practices

* Always verify the endpoint ID before deletion
* Consider stopping the endpoint first if you want to preserve any running executions
* Use this endpoint with caution in production environments


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.