Purpose
A set of API functions allows you to manage devices (tokens, smart cards) by means of client applications.
Usage
Access to API functions is implemented through the icmapi web application, which is part of the Indeed Certificate Manager server. To interact with Indeed CM through the API, in the Roles section of the Indeed CM configuration, you will need to create a service role, include the account on whose behalf the API will be accessed, and define privileges for the role:
- Get smart cards
- Revoke smart cards
- Disable smart cards
- Enable smart cards
- Update smart cards
1. GetCards - get a list of user's smart cards.
Request type:
Parameter:
- Name - username in UPN format (user principal name)
Return values (CardInfo object list):
- id - smart card identifier
- serialNumber - smart card serial number
- atr - ATR smart cards
- label - smart card label
- state - smart card state
- pacNumber - smart card HID label
2. Revoke - withdraw user card.
Request type:
Parameters:
Return values:
Request body:
- Smart card revoke reason - for example, { reason: 5 }
3. Disable - temporarily disable the user's smart card.
Request type:
Parameter:
- id - smart card identifier
Return values:
4. Enable - enable the user's smart card.
Request type:
Parameter:
- id - smart card identifier
Return values:
5. Preupdate - revoke irrelevant user certificate.
Request type:
Parameter:
- id - smart card identifier
Return values: