In NetBeez NextGen (Version 20.0+), Bot Users replace legacy API Keys as the dedicated, non-human credential mechanism for programmatic access to the NetBeez JSON:API, the OpenAPI specification (/openapi.yaml), and the MCP Server (/mcp). Each Bot User is scoped to an explicit Read Only or Read Write permission group, tracks its own authentication activity, and is exempt from interactive Authenticator-app MFA challenges.
In this article:
Overview and Access Requirements
Navigate to Settings → Users & Access → Bot Users to view and manage all bot accounts configured on your NetBeez server. Only users with the Administrator role can view, create, edit, or delete Bot Users.
The Bot Users table displays:
User: The system-generated bot identifier email (formatted as
bot-<uuid>@netbeez.local, with a one-click copy icon) and your custom description underneath.Roles: Either
Read OnlyorRead Write. For least-privilege security, Bot Users cannot be granted the Administrator role.Last Accessed: Timestamp of the most recent authenticated API or MCP request made with that Bot User (displays
N/Auntil first use).
Use the Search by email bar or the Filters menu (by Roles) to locate specific integrations quickly.
Creating a Bot User
Go to Settings → Users & Access → Bot Users.
Click + Create Bot User in the top-right corner.
Enter a clear Description identifying the integration or script that will use this credential (for example,
ServiceNow Sync,Terraform Automation, orClaude Code MCP).Select Permissions from the dropdown:
Read Only (default): Allows querying agents, targets, metrics, alerts, incidents, Wi-Fi data, and reports via JSON:API and read-only MCP tools.
Read Write: Allows all Read Only queries plus creating and updating targets, scheduled test templates, alert detectors, monitoring conditions, and running ad-hoc tests via JSON:API and write-capable MCP tools.
Click Create Bot User.
Immediately after creation, NetBeez displays the Bot User Created confirmation card containing a randomly generated 72-character Password:
Important: The password for a Bot User is displayed only once. Click the copy icon next to the password and store both the bot's bot-<uuid>@netbeez.local email and password in your secrets manager before clicking Dismiss.
Authenticating with a Bot User
Pass both the Bot User's password (as token) and system email (as email) in the HTTP Authorization header using the Token scheme:
Authorization: Token token=<bot_password>, email=<bot_email>
Example: Querying the NetBeez JSON:API
curl -sS "https://<your-netbeez-hostname>/agents?page[limit]=5" \ -H "Authorization: Token token=<bot_password>, email=bot-00000000-0000-0000-0000-000000000000@netbeez.local" \ -H "Accept: application/json" \ -H "Content-Type: application/json"
Note: Always include Accept: application/json (or fetch non-HTML endpoints such as /openapi.yaml or /mcp). Browser-oriented text/html and Turbo Stream requests carrying an Authorization header are rejected with 403 Forbidden.
Rotating Passwords, Editing, and Deleting Bot Users
Updating a Description or Rotating a Password
In Settings → Users & Access → Bot Users, click the More (
...) menu on the bot's row and select Edit.Update the Description if needed. Note that Email and Permissions are fixed after creation—if an integration needs a different role, create a new Bot User with the desired role and delete the old one after migrating your client.
To rotate the credential secret, check Generate New Password and click Update Bot User. Copy the newly generated one-time password from the Bot User Updated screen before clicking Dismiss; the previous password is invalidated immediately.
Deleting (Revoking) a Bot User
Click the More (...) menu on the bot's row, select Delete, and confirm the prompt. All API and MCP requests using that Bot User fail immediately with 401 Unauthorized.
Security, License Behavior, and Migrated Legacy Keys
MFA Exemption: Enabling organization-wide Authenticator-app MFA in Settings → Users & Access → Authentication does not block Bot Users, whereas interactive local human accounts with MFA required cannot authenticate via HTTP token headers.
Expired License Behavior: If the NetBeez server license expires, all Bot User JSON:API and
/mcprequests return403 Forbidden(License is expired) until an Administrator renews the license in Settings → License.Upgrading from Legacy 15.6: During a Legacy 15.6 to NextGen 20.0 migration, existing legacy API keys are automatically migrated into Bot Users with
Read OnlyorRead Writepermissions. Update existing scripts from legacyAuthorization: Bearer <api_key>headers and/nb_api/paths to NextGen JSON:API routes and theAuthorization: Token token=<bot_password>, email=<bot_email>header format.



