LimeLM
wyBuild
Support forum
wyDay blog
wyDay Home

limelm.prod.editVers

Edit the version details.

Arguments

api_key (Required)
Your API application key. Your api key is available on your settings page.
version_id (Required)
The id of the version to edit. You can get the version ID by examining the URL in your browser. For instance, from the URL https://wyday.com/limelm/version/100/ you can see the version ID is 100. (Note: The Version ID is not the Version GUID). You could also get the version ID using limelm.prod.getAll.
name (Optional)
The name of the version. Maximum 255 characters.
deact_limit (Optional)
The number of deactivation that will be allowed by default on product keys (to move the product key, and your software, to other computers). Possible values:
  • -1: Unlimited deactivations.
  • 0 through 9223372036854775807: Limited to the specified number of deactivations.
allow_vm (Optional)
Whether the product key(s) generated will be able to be activated on virtual machines / hypervisors. Possible values: yes or no. The default for allow_vm is no.
trial_length (Optional)
How long you want the timed trial to last for new customers of this product version. Set to “0” for no trial. The default for trial_length is 0.
where_is_pkey (Optional)
A short description of where the customer can find their product key. This is used in the TurboActivate wizard. Maximum 2048 characters.
buy_link (Optional)
Where your customers can purchase your software. This link used in the TurboActivate wizard. Maximum 2048 characters.
lc_allow_deact (Optional)
Set whether an end-user can deactivate their key via LicenseChest. Possible values:
  • inherit: Inherit the default deactivation setting from the product version. This is the default if this parameter is unset or set with an invalid value.
  • no: Disallow the customer from deactivating from within LicenseChest.
  • just-offline: Just allow offline deactivations (where they upload the offline deactivation request to LicenseChest and it processes it.
  • online-offline: Allow either offline deactivations (where an offline deactivation request must be submitted) or deactivation via the interface within LicenseChest (where the customer can just click a button with no proof needed).
lc_self_deact_limit (Optional)
If the "lc_allow_deact" parameter is anything other than "no", this set the number of deactivations the end-user is allowed to do themselves. Possible values:
  • inherit: Inherit the default self-deactivation limit from the product version.
  • 1 through 9223372036854775807: Limited to the specified number of deactivations.
lc_self_deact_limit_term (Optional)
The term-limit of the number of deactivations the end-user is allowed to do in their LicenseChest interface. Possible values:
  • no-term-limit: No term limit; just respect the lc_self_deact_limit as the hard limit. This is the default if this parameter is unset or set with an invalid value.
  • per-day: lc_self_deact_limit deactivations per day.
  • per-week: lc_self_deact_limit deactivations per week.
  • per-month: lc_self_deact_limit deactivations per month.
  • per-year: lc_self_deact_limit deactivations per year.
lc_allow_offline_act (Optional)
Whether to allow the customer to do their own offline activations. Possible values:
  • inherit: Inherit the default offline activation setting from the product version.
  • no: Disallow the customer from offline activation.
  • yes: Allow the customer to offline activate.
lc_view_extradata (Optional)
Whether the end-user will be able to view (in LicenseChest) any extra data you set when the customer activates your software. Possible values:
  • inherit: Inherit the default setting from the product version. This is the default if this parameter is unset or set with an invalid value.
  • yes: The customer will be able to see the extra data.
  • no: The customer will not be able to see the extra data.
lc_view_fields (Optional)
Whether the end-user will be able to view (in LicenseChest) any custom license fields. Possible values:
  • inherit: Inherit the default setting from the product version. This is the default if this parameter is unset or set with an invalid value.
  • no: End-users will not be able to see any custom license fields associated with their product key.
  • just-readable: End-users will be able to see any set custom license fields marked with the "readable in your app" parameter.
  • any: End-users will be able to see any and all set custom license fields for their product key.

Example Response

This method has no specific response - It returns an empty success response if it completes without error.

Error Codes

100: Invalid API Key
The API key passed was not valid or has expired.
101: Method "xxx" not found
The requested method was not found.
164: An API key must be used by a single device.
You can only use an API key from a single device. If you need to use the web API from multiple servers then create another user. You can also temporarily reset this message by logging into the account for which the API key is created and resetting the last used IP address on your settings page.
168: LimeLM web API only supports POST over HTTPS.
All web API functions must be used over HTTPS using POST. Described in the web API overview.
108: The version id is missing.
The version id was not specified.
109: The version doesn't exist or you don't have access to it.
Check to make sure you have access to the version id you've passed in.
118: Your account is in dormant mode. Re-enable your account.
You cannot generate product keys when your account is in dormant mode. Re-enable your account and you will no longer get this error.
125: The "name" parameter must exist and it must be less than 255 characters long.
Make sure your version name is greater than 0 characters and less than 255.
142: Service currently unavailable
The requested service is temporarily unavailable.
166: You do not have permission to create, remove, or edit products and versions. Contact your account administrator(s).
You need to ask an admin to give you permission to create / edit / remove products and versions.