Manage API Users and Tokens
search cancel

Manage API Users and Tokens

book

Article ID: 286247

calendar_today

Updated On: 04-22-2025

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

Steps to create or manage API Users and Tokens for API access.

Environment

  • App Control Console: All Supported Versions

Resolution

  1. Verify required permissions needed by reviewing the App Control API Reference.
  2. Create or modify a Role for use with the API
    Important: The Role, Use API is required at a minimum.
    1. Log in to the Console and navigate to Settings > Login Accounts > User Roles
    2. Add a User Role (example: API - View Computers)
    3. Add relevant Permissions (example: View computers, Use API, Local User Override)
    4. Create & Exit
  3. Create or modify a User for use with the API Role
    1. Log in to the Console and navigate to Settings > Login Accounts > Users
    2. Add User (example: Agent Checker)
    3. Specify the relevant User Role from Step 2 (Ex: API - View Computers)
    4. Create & Exit
  4. Obtain the API Token for the relevant User
    1. Log in to the Console and navigate to user profile (upper right corner) > User Settings
    2. Check the box: Show API Token
    3. If no API Token is shown, click Generate
    4. Copy the API Token somewhere safe
    5. Save

Additional Information