Borrar una seccion del prompt
DELETE /v1/agents/{id}/prompts/{section}
Remove one section from an agent’s prompt.
DELETE
Borrar una seccion del prompt
Takes the section out of the agent’s prompt. Its version history stays, so removing a section is not the same as losing what it said — you can still read it and restore it.
Endpoint
Required scope
agents:write
Path parameters
Example request
curl
Response
200 OK
Returns the agent without that section.401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have theagents:write scope.
404 Not Found
No agent with that id in the token’s company and project.502 Bad Gateway
The agent service is unreachable.Operational notes
- Removing a section the agent did not have succeeds. It is idempotent: the end state is what you asked for.
- An empty section and a missing section behave the same to the agent. If you only want to blank it, writing an empty string keeps the row and its label.