Daniel-Doggy
Verified User
- Joined
- Nov 16, 2019
- Messages
- 452
Hello everyone,
I am currently working on a script to completely automate the installation/deployment of DirectAdmin for my use cases.
One thing that happens somewhat regulary is that I forget to add a new server IP to my list of allowed IPs on my license.
When the license is not allowed for that server, it completely breaks the install script from DirectAdmin. (And thus in turn mine as well.)
So my question is if there is an API from DirectAdmin that I can use via bash/curl to check if a given license key is valid and if it can be used by the server that checks if the license key is valid.
Thanks in advance.
I am currently working on a script to completely automate the installation/deployment of DirectAdmin for my use cases.
One thing that happens somewhat regulary is that I forget to add a new server IP to my list of allowed IPs on my license.
When the license is not allowed for that server, it completely breaks the install script from DirectAdmin. (And thus in turn mine as well.)
So my question is if there is an API from DirectAdmin that I can use via bash/curl to check if a given license key is valid and if it can be used by the server that checks if the license key is valid.
Thanks in advance.