Agents
Reactivate an agent
Reactivates a previously deactivated agent of the caller’s team.
Effects:
- The agent re-occupies a license seat (the team must have a free seat available).
- The agent’s access is restored without data loss; the agent stays in the original office with the original seat type.
Constraints:
- The caller must have team-agent management permission (MANAGE_TEAM_AGENT or MANAGE_TEAM_AGENT_DEPARTMENT).
- The target agent must belong to the caller’s team and must currently be deactivated.
- When the team has no free seat, the call fails with SEAT_INSUFFICIENT (310111); additional seats must be purchased in the Lofty UI first.
POST
Reactivate an agent
Path Parameters
User ID of the agent to reactivate.
Required range:
x >= 1Response
Always returned once authentication passes, whether the call succeeded or not. On success the body is {"success":true}. On failure the body is {"code":,"message":<description>} instead - the HTTP status stays 200, so check code (absent/0 means success) rather than the status to detect errors. Failure codes: invalid agent id (20012), agent already active (990112), insufficient seats (310111), or not authorized (1900012).