Cloud only. My employer is still on an ancient data center version. But you can easily write a cli that wraps the REST API.