xpack.license.delete

edit
client.xpack.license.delete()

Reference