The master key is typically used for administrative purposes such as resetting user passwords and changing permissions. Some operations can only be executed with the master key.
To execute one or more operations against Telerik Platform using master key authorization, you need to initialize an Everlive instance specifying your master key instead of the Bearer token:
EverliveAppSettings everliveAppSettings = new EverliveAppSettings(); everliveAppSettings.setApiKey("your-app-id"); everliveAppSettings.setUseHttps(true); EverliveApp everliveApp = new EverliveApp(everliveAppSettings); //Set tokenType to "Masterkey" and accessToken to your actual master key everliveApp.setAccessToken(new AccessToken("Masterkey", "your-master-key"));
All operations that come after setting the master key will use it while the Everlive instance exists.