You can create users via udm with an expiration date (e.g. test account for interested potential customers) as follows, in this case with the expiry date set to April 30th, 2024:
udm users/user create \
--position cn=users,$(ucr get ldap/base) \
--set username=... \
--set lastname=... \
--set password=... \
--set userexpiry="2024-04-30"