Enterprise 11: License API
- Última actualización2023/04/06
Enterprise 11: License API
Request detailed license information for your Control Room installed licenses.
Prerequisites
- JSON Web Token (JWT)
- All Control Room APIs require a JSON Web Token (JWT) to access the APIs. Generate an authentication token using the Enterprise 11 Authentication API. Apply the token to each API you are going to execute.
- Roles and licenses
- You need to authenticate with a user that has the following permissions:
- View licenses
- Manage user's device licenses
Note: Administrator users have these permissions by default. Create a custom role to assign to non-administrator users to allow them to be able to view license information.
- URL:
http://<your_control_room_url>/v2/license
- Method: GET
Procedure
Next steps
You can also use c URL in a command or terminal window to make this API request.
curl
-X GET "http://<your_control_room_url>/v2/license" -H "accept: application/json"
-H "X-Authorization:
eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiIxOCIsImNsaWVudFR5cGUiOiJXRUIiLCJsaWNlbnNlcyI6WyJERVZFTE9QTUVOVCJdLCJhbmFseXRpY3NMaWNlbnNlc1B1cmNoYXNlZCI6eyJBbmFseXRpY3NDbGllbnQiOnRydWUsIkFuYWx5dGljc0FQSSI6dHJ1ZX0sImlhdCI6MTU3MzY0MTIxOCwiZXhwIjoxNTczNjQyNDE4LCJpc3MiOiJBdXRvbWF0aW9uQW55d2hlcmUiLCJuYW5vVGltZSI6NDE5MDkwNzU3ODk4MjIwMCwiY3NyZlRva2VuIjoiN2YxNDJiODQ3OGRhY2MzYzUzNjFiNzQwNTljOTFjMmYifQ.b5FECqRdLb4tOWrScYSGwydJ2kHdx4XX_9LYQjKX-taOynEE0P1KozHrYEsqERMQFKNTdUWnkKzHfXHWJ63IVzsSamSRLxWTWF0LiVkrrrdSA5mOtBJd3AdVC2Zxk828T2DGKX7O4U-kzSos-LM9Hcx6gug86BWPubjuHbH5RZKUgXVYujcHIpw_2sPfQFHjHdvZWb2HwuTeTm_xxiTRS4LFOwoGh3lZdmOZ8ckmGQCkB-bX28a4dfyLCPBAB9XDYGKJ70IeQRgx4mhYVJ2g228iSe8GPWYcg2RiwedawP_vxy6VLY6EDqUB7nbt5GuWf6W174S_AQei4LVYRQvsPQ"