Authorize API requests using a license key
In the case of a key-based license that has a license key, the license key can be used in most requests to the 10Duke Scale License Checkout API, for example, to handle the checkout flow for the license in both enforced and metered consumption mode, or to retrieve information on the license.
In these requests, the license key also provides the authorization for accessing the API. No authorization tokens are needed: the license key is the shared secret between you (the vendor) and the end user or device accessing your product, and is sufficient authorization in itself.
The scope of the authorization is limited to the license that the license key can access. No separate permissions are used.
Provide license key in API request
An example request with a license key 66422efb-7d6b-43ed-81c1-2b1660b5ca6a
given as a path parameter:
curl -H "Content-Type: application/json" /
-X POST --data '[{"productName":"string","qty":1,"qtyDimension":"SEATS"}]' /
https://<API_BASE_URL>/licensing/actions/checkout/66422efb-7d6b-43ed-81c1-2b1660b5ca6a
See more
-
Choosing the right authorization method for your use case