Delete a license service
Deletes a license service for good. It is not checked whether products still use it, so remove it from your products first. Licenses already issued are kept. Secret and trusted tokens may call it.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
license_service_id*stringThe license service id.
The license service is deleted. No body.
curl -X DELETE 'https://api.comecero.com/api/v1/license_services/string'Update a license service POST
Changes a license service. Send only the fields you want to change. Inside `configuration`, only the fields you send change, but `licenses` replaces the whole key list, and for a `generated` service `null` clears `prefix`, `activation_limit` or `duration`. Changing `type` drops the settings of the old type. Without `type`, `configuration` is checked against the service's current type, so a `generated` service answers `400` (`invalid_input`) for a setting outside its limits, such as an `activation_limit` over 100. A service can become `generated` only when Comecero has turned license keys on for your account (otherwise `409` with code `feature_not_enabled`); one that already is stays editable. `prefix`, `activation_limit`, `duration` and `subscription_grace_days` apply to keys sold from then on: a key keeps the activation limit per unit and grace days it was sold with. `revoke_on_refund` and `revoke_on_chargeback` apply to every refund and chargeback handled after the change, on existing keys too. Secret and trusted tokens may call it.
Overview
Next Page