@dan89 Yes, you can pass the --expires flag to change the validity of a token. But you cannot go above maxTokenValidity though you can increase it in your xo-server's config.
Example:
xo-cli --createToken --expiresIn 90d https://XOA.company.lan admin password