Summary
This article describes how to remove any already expired licenses.
Question
Require assistance how to remove temporary licenses from UCMDB.
Answer
Solution:
Back-up the licenses using listResourceType and then LICENSE.
Once had the licences back-up, ran removeAllLicenses.
Then added them again using addLicense