Important
New Relic REST API Version 1 has reached end of life (EOL) and is no longer functional. Migrate your v1 scripts to their NerdGraph equivalent to maintain functionality.
Here are a few examples of alternatives to common tasks.
To get information related to accounts that your user can access:
actor { organization { accountManagement { managedAccounts { id name } } }}
See Manage Accounts
To get a list of applications that a user can access, you can use entitySearch in NerdGraph:
{ actor { entitySearch(queryBuilder: {domain: APM, type: APPLICATION}) { query results { entities { name entityType guid ... on ApmApplicationEntityOutline { accountId } } } } }}
See Entity Search