- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
03-05-2024 11:58 PM
step :
1) hit api https://<IIS_Server_Ip>/PasswordVault/API/auth/Cyberark/Logon/
response : success get response session token
{ "<session token>"}
2) hit api https://<IIS_Server_Ip>/PasswordVault/API/pta/API/Events/
get error 401 : "An error occured please contact your administrator"
how to solve this problem ?
03-06-2024 12:06 AM
Try setting the content-type header to application/json and see how far you get.
https://docs.cyberark.com/pam-self-hosted/Latest/en/Content/WebServices/GetSecurityEvents.htm?tocpath=Developer%7CREST%20APIs%7CSecurity%7C_____1#Resourceinformation
03-06-2024 12:06 AM
Try setting the content-type header to application/json and see how far you get.
https://docs.cyberark.com/pam-self-hosted/Latest/en/Content/WebServices/GetSecurityEvents.htm?tocpath=Developer%7CREST%20APIs%7CSecurity%7C_____1#Resourceinformation
03-06-2024 12:59 AM
thanks so much, work for me .
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

