Permanently delete a serverless endpoint. This action cannot be undone and will immediately stop the endpoint if it’s currently running.
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
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