---
search:
  tags:
    - Functions
    - DELETE
seo:
  description: >-
    Archive a function. It leaves the list and refuses new runs, and its name
    is… Reference for the DELETE /api/v2/functions/{name} endpoint in the Anlyon
    API.
sidebar:
  label: Delete a function
  badge: DELETE
title: Delete a function
type: openapi-operation
---
Archive a function. It leaves the list and refuses new runs, and its name is free to use again. Its versions and runs are retained as the record of what it did.

`DELETE /api/v2/functions/{name}`
