02-13-2023 06:13 AM
I would like to invalidate a a large number of devices via api. I believe the call is "/certificate/device/invalidate"
My issue is I don't know what to send to the API call. There is no example, it just says 'string'. I assumed it was the UUID, but that didn't work.
I also can't find the call to validate devices as well.
Solved! Go to Solution.
02-16-2023 07:18 AM
I am showing the invalidate process with these API urls and payloads. I ran the process manually capturing the api data.
1st api call
https://192.168.0.156/dataservice/certificate/save/vedge/list
Request Method: POST
Status Code: 200 OK
payload: [{"chasisNumber":"UUID","serialNumber":"SERIAL_NUMBER","validity":"invalid"}]
2nd api is to push to controllers.
https://192.168.0.156/dataservice/certificate/vedge/list?action=push
Request Method: POST
Status Code: 200 OK
payload: {}
02-16-2023 07:18 AM
I am showing the invalidate process with these API urls and payloads. I ran the process manually capturing the api data.
1st api call
https://192.168.0.156/dataservice/certificate/save/vedge/list
Request Method: POST
Status Code: 200 OK
payload: [{"chasisNumber":"UUID","serialNumber":"SERIAL_NUMBER","validity":"invalid"}]
2nd api is to push to controllers.
https://192.168.0.156/dataservice/certificate/vedge/list?action=push
Request Method: POST
Status Code: 200 OK
payload: {}
08-05-2024 07:58 AM
Where do you lookup this information? There are several api calls just like this one that just say string and I would like to see the expected format.
08-05-2024 08:36 AM
Go through the process manually in the GUI with google chrome developer tools turned on to view the sequence of API calls, header info, and payload.
08-05-2024 09:38 AM
I hoped you had a link to a resource with the correct format. Something is better than nothing, thanks for the help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide