Skip to main content

Generating an access token for the API

Access tokens are used to authenticate to a team via the mambo EMM API. Access tokens are team-specific, and cannot be used against other teams.

To generate an access token,

  1. In the mambo EMM console, go to Developers > Access tokens
  2. Click Add token
  3. In the Access token modal, fill in the relevant details and set appropriate access to the token
  4. Click Add
  5. A new token will be added to the Access token list, and the token can be copied for use with the API

Permission that you can configure​

🏒 Team​

Controls access to team-level information and team security settings.

OptionDescription
Can view team informationUser can see basic team details such as team name, ID and status. No changes allowed.
Can view and manage general team informationUser can update basic team data like team name, slug, and preferences.
Can view, manage and change team securityUser can manage security settings including 2FA enforcement, Android Enterprise binding and authentication methods.

πŸ‘₯ Roles​

Controls access to the Roles section itself.

OptionDescription
No accessUser cannot view or access the Roles section.
Can view roles informationUser can see existing roles but cannot edit or add them.
Can view and manage rolesUser can create and edit roles but cannot delete them.
Can view, manage and delete rolesUser has full control over role creation, editing, and deletion.

⚠️ Only give full control to senior administrators.


πŸ‘€ Members​

Controls access to team members and SSO configurations.

OptionDescription
No accessUser cannot see or manage team members.
Can view team members and SSO ConfigurationsUser can view member list and SSO details but cannot edit anything.
Can view and manage team members and SSO ConfigurationsUser can add members, edit details, and configure SSO, but cannot remove users.
Can view, manage and remove team members and SSO ConfigurationsFull control over team members including removal and SSO changes.

πŸ“Š Reports​

Controls access to reporting and exports.

OptionDescription
No accessUser cannot view or generate any reports.
Can view reportsUser can only view available reports.
Can view and generate reportsUser can generate new reports and view them.
Can view, generate and delete reportsFull reporting access including deletion of reports.

πŸ“± Policies, Enrolment Tokens and Devices​

Controls access to view the main device and policy areas.

OptionDescription
No accessUser cannot see devices, enrolment tokens or policies.
Can view policies, enrolment tokens and devicesUser can see devices, policies, and enrolment tokens but cannot modify them.

πŸ§‘β€πŸ€β€πŸ§‘ Groups​

Controls access to device groups.

OptionDescription
Can view groupsUser can only view group information.
Can view and manage groupsUser can edit groups and change their settings.
Can view, manage and delete groupsUser can fully manage and remove groups.

πŸ“œ Policies​

Controls access to device policies.

OptionDescription
Can view policiesUser can only view policies.
Can view and manage policiesUser can edit and assign policies.
Can view, manage and delete policiesUser can fully control policies including deletion.

πŸ”‘ Enrolment Tokens​

Controls device enrolment methods.

OptionDescription
Can view enrolment tokensUser can view tokens and QR codes but cannot create new ones.
Can view and manage enrolment tokens and zero-touchUser can create and edit tokens including Zero-Touch.
Can view, manage and delete enrolment tokensFull control of enrolment tokens including deletion.

πŸ“± Device Commands​

Controls which remote commands a user can issue to devices:

CommandDescription
Can lock devicesLock a device instantly.
Can reset passwordsForce reset of device password.
Can reboot devicesRestart device remotely.
Can wipe/delete devicesFully wipe the device (factory reset).
Can remote control devicesRemotely view and control the device.
Clear app dataClear data for selected applications.
Can broadcast messages to devicesSend mass messages to devices.
Can manage eSIMsConfigure or remove eSIM profiles.
Can run ADB commands remotelyRun advanced Android shell commands (high risk).

⚠️ You must also enable β€œView Devices” for these commands to work.


πŸ“¦ Device Possession​

Controls device ownership/possession state.

OptionDescription
No accessUser cannot view possession status.
Can view a device's possession stateUser can see current possession state of devices.
Can view and change device's possession stateUser can modify device ownership or possession details.

πŸ”— Webhooks​

Controls notification/integration endpoints.

OptionDescription
No accessUser has no access to webhooks.
Can view webhooksUser can only see configured webhooks.
Can view and manage webhooksUser can add/edit webhooks.
Can view, manage and delete webhooksUser has full webhook control including deletion.

πŸ” Access Tokens​

Controls API and integration access tokens.

OptionDescription
No accessUser cannot see or use access tokens.
Can view access tokensUser can view existing tokens but not create any.
Can view and create access tokensUser can create new tokens but cannot delete them.
Can view, create and delete access tokensFull control over API tokens including deletion.

πŸ’³ Billing​

Controls subscription and plan details.

OptionDescription
No accessUser cannot see any billing information.
Can view and update plan and billing informationUser can see, change plans, and update payment info.

Only give to finance or team owners.


Warning: Access tokens grant potentially unlimited access to your mambo EMM Team. We offer granular access rights per-token to assist in limiting the scope of any one token to a particular use case and strongly recommend time is spent to review and set permissions as desired.

For testing purposes, a fully-scoped token may be used, and new tokens later swapped in with fewer permissions. However you choose to go about managing your tokens, you must keep them safe. We recommend a password manager or similar for storing secrets, preferably with auditable access/use logs.