02-21-2023 09:21 PM - last edited on 04-01-2024 03:00 PM by Mercedes_O
Trying to follow the instructions in the article, and I've gone through and gotten the site id and am trying to run the curl commands, but I keep getting -
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
Looked through the forum not seeing an answer.
From the article, I'm trying to run this -
curl --location ^
--request POST "https://api.lansweeper.com/api/v2/graphql " ^
--header "Authorization: Token <my Id>" ^
--header "Content-Type: application/json" ^
--data-raw "{ \"query\": \"{ authorizedSites { sites { id name } } }\"}"
Am I missing something? I change the ID to the appropriate text, but is there something else I'm supposed to change?
02-24-2023 11:35 AM
Hello there!
If you didn't get this to work, we would recommend reaching out to support: https://www.lansweeper.com/contact-support/
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now