I can get users and backup dashboards without a problem. However, when i try to backup monitors (i'm specifically interested in my Synthetics monitors), i get a 401 with some extra details... see below:
Command issued:
user$ nr backup monitors -d ./backups/
Response:
Start to backup all monitors to './backups/' folder
Response status code: 401. Get one page monitors, pageSize '50', pageOffset '0'
OperationName StatusCode Description Message
Get Monitors 401 pageSize:50,pageOffset:0
Status code is not 2XX calling NewRelic REST
Status code is not 2XX calling NewRelic REST
Failed to backup monitors, exit.
I can get users and backup dashboards without a problem. However, when i try to backup monitors (i'm specifically interested in my Synthetics monitors), i get a 401 with some extra details... see below:
Command issued:
user$ nr backup monitors -d ./backups/Response: