License and entitlement management

You can use the 10Duke Entitlement Management REST API to make CRUD operations with 10Duke Enterprise on licenses and the entitlements that hold those licenses:

Many of the actions available through the API are also available to system administrators in the 10Duke SysAdmin tool.

First you need to set up your initial product configuration for licensing using SysAdmin.

Learn more about entitlements and licenses in 10Duke Enterprise.

API base path

The API base path for the Entitlement Management REST API:

<your_10Duke_Enterprise_instance>/api/entitlement/v1/

API reference

  • The latest API reference is available in this documentation.

  • The API reference specific to your own 10Duke Enterprise deployment is available at the API base path.

Localization

If the display names of licensed items have been localized, you can request the Entitlement Management REST API to provide the locale-based translation in responses that contain licensed item data.

Provide the user’s locale in an HTTP header locale in the request.

This example request uses curl to query the available licenses for a user whose locale is da-dk (line breaks added for display purposes):

curl --request GET
   --header "locale: da-dk"
   --url <API_base_path>/users/me/available-licenses

In the response, displayName under licensedItem will provide the Danish translation defined for the da-dk locale.