cURL
curl --request POST \ --url https://api.cyberdesk.io/v1/computer/{machine_id}/shell/powershell/session \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "action": "<string>", "session_id": "<string>" }'
{}
Create or destroy PowerShell sessions on the machine.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object
Was this page helpful?