api can now handle an integer 'required' parameter
script to restart one or more specific services