{
"documentation_id": "doc_a1b2c3d4e5f6",
"agent_id": "agent_b2c3d4e5f6a7"
}
{
"success": true,
"message": "Document detached from agent successfully"
}
Knowledge Base
Detach from Agent
POST
/
api
/
knowledge-base
/
detach
{
"documentation_id": "doc_a1b2c3d4e5f6",
"agent_id": "agent_b2c3d4e5f6a7"
}
{
"success": true,
"message": "Document detached from agent successfully"
}
Detach a knowledge base document from an agent.
Headers
string
required
Your API key for authentication.
string
required
The organization ID.
string
required
Must be
application/json.Request Body
string
required
The ID of the document to detach.
string
required
The ID of the agent to detach from.
Permissions
kb:update(admin, agent_manager)
Response
boolean
Indicates if the detachment was successful.
string
Human-readable success message.
{
"documentation_id": "doc_a1b2c3d4e5f6",
"agent_id": "agent_b2c3d4e5f6a7"
}
{
"success": true,
"message": "Document detached from agent successfully"
}
Errors
object
Document or agent belongs to different organization.