Tous les outils

Ressources humaines · deactivate_accounts

Désactiver les accès

Révocation des accès lors d'un départ.

Prix
inclus
Prérequis
Aucun connecteur
fonctionne sur les clés plateforme
Validation humaine
Oui, par défaut
écriture vers l'extérieur : un humain valide

Entrée

ChampTypeDescription
employeesarrayBatch mode: the FULL list of leaving employees to offboard in one call (preferred whenever there is more than one). Each item takes the same fields as a single employee. When provided, the top-level single-employee fields are ignored.
employeeIdstringEmployee DB ID (from list_employees)
employeeEmailstringAlternative to employeeId: the employee email
employeeNamestringAlternative to employeeId: the employee full name (must be unambiguous)
lastWorkingDaystringLast working day (ISO 8601 date)
systemsarraySystems to deactivate. Use ["all"] to deactivate all systems (default).

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"deactivate_accounts","input":{"employees":[],"employeeId":"…","employeeEmail":"…","employeeName":"…"}}'
$run({ "tool": "deactivate_accounts", "input": {"employees":[],"employeeId":"…","employeeEmail":"…","employeeName":"…"} })