API Queries - Edit Account

The edit_account function edits an existing parking service account in your Above.com account. Additional parameters are required for this function.

Additional Parameters

account_id - The ID of the parking service account to edit. A list of parking services accounts in your Above.com account and their IDs can be retrieved using the List Accounts API function. (Required)

acc_username - The username for your parking service account. (Required)

acc_password - The password for your parking service account. (Required)

enabled - Enable this parking service account for use with the Auto Optimizer. Accepted values are "0" (disabled) and "1" (enabled). (Optional)

download - Whether or not to download statistics for this parking service account. This is automatically enabled when the account is enabled. Accepted values are "0" (disable downloading statistics) and "1" (enabled downloading statistics). (Optional)

Account Redirection Parameters

Note: Only one option can be set when editing a parking service.

default - The default redirection method for this parking service. This parameter is used by default unless redirect_url, ip or cname are used. Accepted values are "1" (enabled). (Optional)

ip - The custom IP address provided by the parking service to be used for your account redirect. (Optional)

cname - The custom cname provided by the parking service to be used for your account redirect. (Optional)