remove secrets from source code

master
Tudor Stanciu 2022-11-24 18:51:08 +02:00
parent 1bd47f581e
commit 53f04c6cef
1 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Hi Guys Hi Guys
So long story short I want to shut down my physical server that is running Proxmox VE using the API. I am fairly new to using API but what I have found thus far is this: So long story short I want to shut down my physical server that is running Proxmox VE using the API. I am fairly new to using API but what I have found thus far is this:
curl https://yourip***REMOVED***/api2/json//nodes/proxmox/stop -k -d 'username=root@pam&password=yourpassword' curl https://yourip:8006/api2/json//nodes/proxmox/stop -k -d 'username=root@pam&password=yourpassword'
Above does not seem to work, Anyone able to assist and just provide the correct curl to use Above does not seem to work, Anyone able to assist and just provide the correct curl to use
Thanx Thanx
@ -18,8 +18,3 @@ https://forum.proxmox.com/threads/shutdown-the-server-via-api.98125/
https://github.com/Corsinvest/cv4pve-api-dotnet https://github.com/Corsinvest/cv4pve-api-dotnet
API Viewer: https://pve.proxmox.com/pve-docs/api-viewer/index.html API Viewer: https://pve.proxmox.com/pve-docs/api-viewer/index.html
***REMOVED***
https://***REMOVED******REMOVED***/
https://***REMOVED******REMOVED***/api2/extjs/access/ticket