---
title: "Changes to Delete Function Route for an Agent"
method: DELETE
path: "/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}"
---

# Changes to Delete Function Route for an Agent

`DELETE /v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 8 revisions.

- **2025-10-16** `cb3bf9b21459` — 2 info
- **2025-08-04** `9aca3802735e` — 8 info
- **2025-07-18** `f8e8c290636c` — 1 warning, 16 info
- **2025-07-17** `5fc9af728e82` — 11 warning, 9 info
- **2025-07-17** `f8e8c290636c` — 1 warning, 16 info
- **2025-06-25** `e8b3cbc80e18` — 2 info

## Changes

- **2025-10-16** `cb3bf9b21459` — 2 info
  - api tag `DigitalOcean-public.v2-new_GradientAI Platform` added
  - api tag `GradientAI Platform` removed
- **2025-08-04** `9aca3802735e` — 8 info
  - added the optional property `agent/knowledge_bases/items/last_indexing_job/total_items_failed` to the response with the `200` status
  - added the optional property `agent/knowledge_bases/items/last_indexing_job/total_items_indexed` to the response with the `200` status
  - added the optional property `agent/knowledge_bases/items/last_indexing_job/total_items_skipped` to the response with the `200` status
  - added the optional property `agent/logging_config/insights_enabled` to the response with the `200` status
  - added the optional property `agent/logging_config/insights_enabled_at` to the response with the `200` status
  - added the optional property `agent/template/knowledge_bases/items/last_indexing_job/total_items_failed` to the response with the `200` status
  - added the optional property `agent/template/knowledge_bases/items/last_indexing_job/total_items_indexed` to the response with the `200` status
  - added the optional property `agent/template/knowledge_bases/items/last_indexing_job/total_items_skipped` to the response with the `200` status
- **2025-07-18** `f8e8c290636c` — 1 warning, 16 info
  - added the new `METRIC_VALUE_TYPE_PERCENTAGE` enum value to the `agent/workspace/evaluation_test_cases/items/metrics/items/metric_value_type` response property for the response status `200`
  - api operation id `detach_agent_function` removed and replaced with `genai_detach_agent_function`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - api tag `GenAIAPI` removed
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
  - added the optional property `agent/conversation_logs_enabled` to the response with the `200` status
  - added the optional property `agent/logging_config` to the response with the `200` status
  - added the optional property `agent/version_hash` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/dataset` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/inverted` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/range_max` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/range_min` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/star_metric/success_threshold` to the response with the `200` status
- **2025-07-17** `5fc9af728e82` — 11 warning, 9 info
  - the optional response header `ratelimit-limit` removed for the status `200`
  - the optional response header `ratelimit-remaining` removed for the status `200`
  - the optional response header `ratelimit-reset` removed for the status `200`
  - removed the optional property `agent/conversation_logs_enabled` from the response with the `200` status
  - removed the optional property `agent/logging_config` from the response with the `200` status
  - removed the optional property `agent/version_hash` from the response with the `200` status
  - removed the optional property `agent/workspace/evaluation_test_cases/items/dataset` from the response with the `200` status
  - removed the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/inverted` from the response with the `200` status
  - removed the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/range_max` from the response with the `200` status
  - removed the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/range_min` from the response with the `200` status
  - removed the optional property `agent/workspace/evaluation_test_cases/items/star_metric/success_threshold` from the response with the `200` status
  - api operation id `genai_detach_agent_function` removed and replaced with `detach_agent_function`
  - the endpoint scheme security `bearer_auth` was removed from the API
  - api tag `GenAIAPI` added
  - api tag `GradientAI Platform` removed
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `429`
  - removed the non-success response with the status `500`
  - removed the `METRIC_VALUE_TYPE_PERCENTAGE` enum value from the `agent/workspace/evaluation_test_cases/items/metrics/items/metric_value_type` response property for the response status `200`
- **2025-07-17** `f8e8c290636c` — 1 warning, 16 info
  - added the new `METRIC_VALUE_TYPE_PERCENTAGE` enum value to the `agent/workspace/evaluation_test_cases/items/metrics/items/metric_value_type` response property for the response status `200`
  - api operation id `detach_agent_function` removed and replaced with `genai_detach_agent_function`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - api tag `GenAIAPI` removed
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
  - added the optional property `agent/conversation_logs_enabled` to the response with the `200` status
  - added the optional property `agent/logging_config` to the response with the `200` status
  - added the optional property `agent/version_hash` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/dataset` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/inverted` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/range_max` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/metrics/items/range_min` to the response with the `200` status
  - added the optional property `agent/workspace/evaluation_test_cases/items/star_metric/success_threshold` to the response with the `200` status
- **2025-06-25** `e8b3cbc80e18` — 2 info
  - added the optional property `agent/knowledge_bases/items/last_indexing_job/status` to the response with the `200` status
  - added the optional property `agent/template/knowledge_bases/items/last_indexing_job/status` to the response with the `200` status

---

[Operation](https://skmtc.dev/digitalocean/apis/digitalocean-api/docs/v2/gen-ai/agents/:agent_uuid/functions/:function_uuid/delete.md) · [API](https://skmtc.dev/digitalocean/apis/digitalocean-api.md) · [Page](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/v2/gen-ai/agents/:agent_uuid/functions/:function_uuid/delete)
