Skip to main content
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 the agents: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.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required
section
string
required

Response

200 - application/json
agent
object
required