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
| Champ | Type | Description |
|---|---|---|
| employees | array | Batch 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. |
| employeeId | string | Employee DB ID (from list_employees) |
| employeeEmail | string | Alternative to employeeId: the employee email |
| employeeName | string | Alternative to employeeId: the employee full name (must be unambiguous) |
| lastWorkingDay | string | Last working day (ISO 8601 date) |
| systems | array | Systems 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":"…"} })