Before users can create Bearer tokens and access the Axero REST API, an administrator must enable API access and configure appropriate security settings. This guide walks through the complete setup process, from enabling Bearer token support to configuring security levels that match your organization's requirements.
π Prerequisites: You must have site administrator privileges to configure REST API settings. These changes affect all users in your organization and should be planned accordingly.
To enable Bearer token authentication and unlock advanced security options, you need to configure specific system properties:
EnableLegacyAPIKey = false
EmulateLegacyAPIKey = true
After enabling Bearer token support, you'll need to choose the appropriate security level for your organization. This decision determines which authentication methods are available and how strictly API access is controlled.
Navigate to REST API Settings and select one of the following security levels. Read each option carefully to understand the features and limitations:
Maintains backward compatibility by supporting both legacy API keys and Bearer tokens during the migration period.
The recommended security level eliminates legacy API keys while maintaining compatibility for essential third-party integrations. This mode provides enhanced Bearer token management with configurable expiration controls.
β οΈ Migration Required: Before enabling High Security, ensure all applications using legacy API keys are updated to use Bearer tokens. Legacy API keys will immediately stop functioning.
High Security mode provides granular control over token expiration policies:
π§ Configuration Best Practices:
The highest security level that provides maximum protection by requiring Bearer tokens for all API access. This mode completely disables username/password authentication, ensuring all API requests use cryptographically signed tokens.
π¨ Critical Considerations Before Enabling:
After configuring security levels, ensure that user roles have the appropriate REST API permissions:
π Permission Note: Users without REST API permissions will not see the Authorizations section in their account settings and cannot create Bearer tokens.
Once Bearer token support is enabled and user permissions are configured, users can create their own Bearer tokens: Generating Bearer Tokens
After completing the REST API setup:
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108972/enabling-api-access
Your session has expired. You are being logged out.