Skip to main content
Updates agent metadata such as name, description, and status.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Path parameters

string
default:"p1q2r3s4t5u6v7w8x9y0z1a2"
required

Query parameters

string
default:"api"

Body

string
default:"C2QujeCh8ZnC7al2InWR"
required
Account ID for authorization (cannot be updated)
string
default:"Updated Customer Support Agent"
Name of the agent
string
Description of the agent
string
default:"active"
Status of the agent Posibles valores: ‘active’, ‘inactive’, ‘archived’

Respuestas

boolean
default:"True"
required
Success status
string
default:"Agent updated successfully"
required
Response message
object
required
Updated agent or version data
number
default:"500"
string
default:"Internal Server Error"

Ejemplo