title | tags | metaDescription | redirects | freshnessValidatedDate | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Working with the New Relic REST API (v1) (EOL) |
|
The New Relic REST API (v1) has now reached end of life. Migrate your v1 scripts to their NerdGraph equivalent. |
|
never |
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