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