document /api/exit