CredoID

Licensing activation via API

Offline license activation using API and file

  1. Head to http://localhost:8090/swagger
  2. Expand api/login:

auth.png

  1. Click on "Try it out" button:

try_it_out.png

  1. Replace string with CredoID administrator username and password and press "Execute".

string.png

  1. If information is correct, the response should be Code: 200 and in the response body you should receive access_token (marked in blue). Copy it to a clipboard without "".

token.png

  1. In the right upper corner next to "Select a definition" expand a list and go to "Miscelaneous: API documentation".

miscelanious.png

  1. Expand api/licensing/import-file and click on the "Authorize" button in the right top corner.

import-file.png

  1. In the dialog, paste the copied token from the clipboard into field "Value" and press Authorize.

authorization.png

  1. Go back to 'api/licensing/import-file and press "Try it out" button. In the file choose your .license file (sent by CredoID for offline activation) and press "Execute".

execute.png

If everything was done correctly, you should receive response 200 success and your license should be activated.