Update an agent name
Update the authenticated agent's display name. The agent_id is taken from the login JWT.
POST
/agent/update
Authorizations
agentJwt
Agent registration JWT. Send as Authorization: Bearer <agent-jwt>.
Type
HTTP (bearer)
Request Body
application/json
Request to update the authenticated agent's display name.
New non-empty display name for the agent.
Responses
Agent name updated successfully.
application/json
The updated agent record.
The authenticated agent's identifier.
Updated agent display name.
{
"agent_id": "<string>",
"agent_name": "<string>",
"message": "<string>"
}