Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
01-18-2019 09:24 AM
01-20-2019 08:41 PM
Thanks,
Naoto Yamamoto
07-15-2020 03:15 PM - last edited on 07-15-2020 04:27 PM by Ryan.Paredez
Curl command produces this cookie file for 20.4 version.
The next two commands fail to parse obviously.
Can you suggest?
Also, would this sequence of steps delete all artifacts of the app - BTs, Tiers, and Nodes?
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_localhost FALSE /controller FALSE 0 JSESSIONID 48a75c23dca26c5a77232b48a687
^ Post edited by @Ryan.Paredez for formatting and clarity of post
01-25-2021 06:24 PM
Hi Venkat,
We're sorry for our late reply.
From the cookie file you retrieved in the 1st step, could you try to pick up JSESSIONID and X-CSRF-TOKEN and replace the following place-holder values?
curl -i -H "X-CSRF-TOKEN:<<TOKEN FROM STEP 1>>" -H "Cookie: JSESSIONID=<<JSESSIONID from Step 1>>; X-CSRF-TOKEN:<<TOKEN FROM STEP 1>>;" -H "Content-Type: application/json" -H "Accept: application/json" --data "<<application ID you want to delete>>" http://<<hostName>>:<<port>>/controller/restui/allApplications/deleteApplication
Thanks,
Naoto Yamamoto
User | Count |
---|---|
4 | |
3 | |
3 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form