AppD Archive

Marking a node historical through the REST API returns XML no matter what

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We have a very dynamic environment with servers being switched in and out regularly so I've been working on automating the removal of nodes.

The other REST calls return JSON if I specify it in the url parameter but this one always returns XML. Is there a way to get this to return JSON?

This is the URL I've used. It marks the nodes as historical but returns XML regardless of if I include the output param or not.

POST https://<account>.saas.appdynamics.com/controller/rest/mark-nodes-historical?application-component-node-ids=<ids>&output=JSON

0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...