How to update head for Department use API

How to update head for Department use API

Please help. How to update head for Department use API ? 
Thanks
                New to ADManager Plus?

                  New to ADSelfService Plus?