bright, fresh software
Downloads  |  Buy

limelm.feature.edit

Edit an existing license feature. Note that if you want to set the feature values for existing product keys, use the limelm.pkey.setDetails function.

Arguments

api_key (Required)
Your API application key. Your api key is available on your settings page.
feature_id (Required)
The id of the feature you'll be editing. You can get the feature ID by examining the URL in your browser. For instance, from the URL http://wyday.com/limelm/version/42/edit-feature/ you can see the feature ID is 42. Also, the feature id is returned when you call the limelm.feature.add web API function.
name (Optional)
The new name of the feature.
required (Optional)
Whether this feature will be required to be filled out when a new product key is created. Possible values are "true" and "false". If this parameter isn't present (or is invalid) it will default to "true".

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.
108: The version id is missing.
The version id was not specified.
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 feature name is greater than 0 characters and less than 255.
126: Please enter a new feature name (FeatureName already exists).
You can't have multiple features with the same name. Use a unique feature name.
127: The feature doesn't exist or you don't have access to it.
Check to make sure you have access to the feature id you've passed in.
142: Service currently unavailable
The requested service is temporarily unavailable.