How do I (re) activate the license key programmatically?

This function is not yet available, but it is planned for next release.