v2

latestOpenAPI 3.0.22026-08-07295198367.7 KB
Agent User

Edit Agent

Edit permissions and knowledge bases of an agent.

put/agent/edit-agent/{agent_user_id}

Path parameters

agent_user_idstring uuid required

Query parameters

team_idstring uuid

Request body

permissionsstring

New permissions for the agent

knowledge_basesstring

List of chatbot IDs as a comma-separated string or 'All'

Example request

{
  "knowledge_bases": "de02d286-333f-4b82-bfab-5c322ef9e482,7fe9abdc-3123-49b7-aa79-6b0761a5f21c or all"
}

Response

Successful Response

idstring uuid
date_createdstring date-time
date_updatedstring date-time
agent_user_idstring uuid required

The ID of the agent user.

organization_idstring uuid

The ID of the organization.

rolestring
permissionsstring