Set TTL for vertex

Can i set TTL for vertex after running janusgraph about 4 months?
Solution
From https://docs.janusgraph.org/schema/advschema/#vertex-ttl :
mgmt = graph.openManagement()
tweet = mgmt.makeVertexLabel('tweet').setStatic().make()
mgmt.setTTL(tweet, Duration.ofHours(36))
mgmt.commit()
Was this page helpful?