---
title: "Delete an agent section"
method: DELETE
path: "/v1/agents/{id}/sections/{sectionId}"
---

# Delete an agent section

`DELETE /v1/agents/{id}/sections/{sectionId}`

## Request

- Base URL: `https://api.runbear.io`
- URL: `https://api.runbear.io/v1/agents/{id}/sections/{sectionId}`
- Auth: HTTP bearer

Delete one section from the agent. Returns 404 when the agent or section is not found.

## Path parameters

- `id` string, uuid, required: Agent ID
- `sectionId` string, uuid, required: Section ID

## Response `204`

Section deleted

## Other responses

- `403`: Default Response
- `404`: Default Response

---

[API](https://skmtc.dev/runbear/apis/runbear-api.md) - [All operations](https://skmtc.dev/runbear/apis/runbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runbear/apis/runbear-api/revisions/c6a9c3066a5a?raw)
