![]() sharedreseller will set the resellers ip to shared and assign the reseller to it. assign will use one of the reseller's ips. If shared, domain will use the server's main ip. One of the Reseller packages created by an admin 4-8 characters, alphanumericĪ valid domain name in the form: To create a new reseller account using a pre-made package Exactly the same as CMD_ACCOUNT_ADMIN except return value ![]() For example, a User cannot get the list of all the Users on the server, only an Admin can. You MUST have the proper permissions with your account in order use the API. This is the code I use for decoding with all API testing: Use " unhtmlentities()" then " parse_str()" with PHP to get the values. If its a list, it'll be in the list array. If return value is url encoded, a url encoded string is returned after the DirectAdmin Headers. If the return value is Location, then a Location header will be returned as a redirect to send the client to a new page. If a checkbox value is to be OFF, then the variable should not be passed at all.Ī return value of Text means that a website will be returned with text showing the result. The values " ON or OFF" generally indicate a checkbox, so if the checkbox is not checked, the name will not be passed and OFF is assumed. ![]() Authentication is basic web authentication using base64 encryption of "username:password" The default is not, so if you need to chose one, chose non SSL. ***ĭirectAdmin Uses port 2222 which may or may not be secure (SSL). *** Most new CMD_API_ calls are only listed in the versions system, which can be searched please check the versions system if it's not listed below. More custom CMD_API_ commands can be added upon request.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |