Move an agent to a folder or remove from folder
POST
Move an agent to a folder or remove from folder.
Personal access token scope: agents:write.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
agent_id*stringAgent ID to move
folder_id?stringTarget folder ID (null to remove from folder)
Success
curl -X POST 'http://localhost:7091/api/agents/folders/move_agent' \ -H 'Content-Type: application/json' \ -d '{ "agent_id": "string"}'Example Response200
Empty