Api to help control access to resources