I want create php script witch will be able create users in DirectAdmin, for this is command /CMD_API_ACCOUNT_USER
:
`MyServer.com:2222/CMD_API_ACCOUNT_USER?action=create&add=submit....`
But, to theresseler(admin) must be logged in. I don't know how to do this, please suggest what use to login:
socket
, curl
or something else.
DA uses the HTTP Basic Auth to login your account.
Here is a official document https://www.directadmin.com/api.php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.