Save User Email
| Function | To allow a user to change his/her email for their account. This is their account email and does not modify their ticket/messaging system email |
| Command | CMD_API_CHANGE_INFO |
| Method | POST |
| Success Returns | Location with the users stats screen: CMD_USER_STATS |
| Failure Returns | Text |
| Form Values: | |
| Name | Value |
| evalue | A valid email address |
| domain | Any domain in the users account. Its only purpose it to provide a return link to that domain's stats page |
| Save. Used to determine what value is being saved. With email being passed, DirectAdmin will know its supposed to be saving an email |
Save User Email for Ticket/Messaging system
| Function | To allow a user to change his/her email for the message/ticket system. This email address is the one that will be used when tickets or messages are sent back and forth |
| Command | CMD_API_TICKET |
| Method | POST |
| Success Returns | Location of the messaging system: CMD_TICKET |
| Failure Returns | Text |
| Form Values: | |
| Name | Value |
| A valid email address | |
| ON | yes or no this is a checkbox to tell the ticket system if it should send an email out for each message. |
| save | Save. Button for the form (not actually required) |
Modify User Settings
| Function | To allow a reseller to update the settings of one of his or her users |
| Command | CMD_API_MODIFY_USER |
| Method | POST |
| Success Returns | Location: CMD_USER_SHOW |
| Failure Returns | Text |
| Form Values: | |
| Name | Value |
| action | customize |
| user | the username of the User to be modified |
| bandwidth | Amount of bandwidth User will be allowed to use. Number, in Megabytes |
| ubandwidth | ON or OFF. If ON, bandwidth is ignored and no limit is set |
| quota | Amount of disk space User will be allowed to use. Number, in Megabytes |
| uquota | ON or OFF. If ON, quota is ignored and no limit is set |
| vdomains | Number of domains the User will be allowed to create |
| uvdomains | ON or OFF. If ON, vdomains is ignored and no limit is set |
| nsubdomains | Number of subdomains the User will be allowed to create |
| unsubdomains | ON or OFF. If ON, nsubdomains is ignored and no limit is set |
| nemails | Number of pop accounts the User will be allowed to create |
| unemails | ON or OFF Unlimited option for nemails |
| nemailf | Number of forwarders the User will be allowed to create |
| unemailf | ON or OFF Unlimited option for nemailf |
| nemailml | Number of mailing lists the User will be allowed to create |
| unemailml | ON or OFF Unlimited option for nemailml |
| nemailr | Number of autoresponders the User will be allowed to create |
| unemailr | ON or OFF Unlimited option for nemailr |
| mysql | Number of MySQL databases the User will be allowed to create |
| umysql | ON or OFF Unlimited option for mysql |
| domainptr | Number of domain pointers the User will be allowed to create |
| udomainptr | ON or OFF Unlimited option for domainptr |
| ftp | Number of ftp accounts the User will be allowed to create |
| uftp | ON or OFF Unlimited option for ftp |
| aftp | ON or OFF If ON, the User will be able to have anonymous ftp accounts. |
| cgi | ON or OFF If ON, the User will have the ability to run cgi scripts in their cgi-bin. |
| php | ON or OFF If ON, the User will have the ability to run php scripts. |
| spam | ON or OFF If ON, the User will have the ability to turn on spamassassin. |
| cron | ON or OFF If ON, the User will have the ability to run cron jobs |
| ssl | ON or OFF If ON, the User will have the ability to access their websites through secure https://. |
| sysinfo | ON or OFF If ON, the User will have the ability to view the system information page. |
| ssh | ON or OFF If ON, the User will have an ssh account. |
| dnscontrol | ON or OFF If ON, the User will be able to modify his/her dns records. |
| skin | Skin name that the user will use. Selected from the Resellers list of skins. If the skin doesn't exist or is invalid, it will not be changed |
| ns1 | Name server 1 that the user will use. Will remove the old one and replace it with this one |
| ns2 | Name server 2 that the user will use. Will remove the old one and replace it with this one |