api for admin functions, untested