Identity management API