- 18 Apr 2023
- 1 Minute to read
- DarkLight
- PDF
Kandji Asset Connector
- Updated on 18 Apr 2023
- 1 Minute to read
- DarkLight
- PDF
Enable and configure Kandji API access
Step 1 — Log in and click on Settings.
Step 2 — Click the Access tab.
Step 3 — Click the Add API Token button to create a new API key.
Step 4 — After clicking Add API Token, provide a Name and a Description for your API token.
Step 5 — Click Create.
Step 6 — Kandji will display a modal with the API token. Click the visibility symbol to expose it or use the Copy Token button to copy the API token to your clipboard, storing it in a safe place.
Note: You will not be able to see the token details again.
Step 7 — Click Next.
Step 8 — Click Configure to manage the API permissions for this specific token or Skip to change them later.
Step 9 — Under Device Information select the following APIs
- List Devices
- Get Device Details
- Get Device Apps
and click Save.
Step 10 — Once you create your first token, you will see your instance-specific API URL.
Modify, Inspect, or Revoke an API Token
After you create an API token for your instance, you can modify its name and permissions or revoke it to prevent further access.
- Click the vertical ellipsis next to the token.
- Click View to display information about the token, including the permissions associated with the token. From this page, you can use the following options:
- Click the Permissions tab to edit the permissions associated with the token
- Click the Activity tab to view the activity of the API token, including:
- Token created
- Token name changed
- Token permissions edited
- In the lower-right corner, click Edit to edit the name of the token
- Click Revoke to invalidate the API token and prevent its further use. If you revoke a token, you will no longer see it in the list of API tokens for your instance.