Update api.py

Resolved naming inconsistency in site_admin api