Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 3 answers

    MobiControl 13.4 - syntax to delete Device ID via Powershell script Solved

    Trying to automate device deletion on 13.4 using the invoke-restmethod API script provided here (which currently works for me for folder/group creation) https://discussions.soti.net/thread/using-powershell-to-make-api-calls/ I can currently delete the deviceID via API rest interface, with no issues: Curl: curl -X DELETE --header -Authorization: Bearer XYZ123 Request URL: https://servername:443/MobiControl/api/devices/DEVICEID Response Body: no content Response Code: 204 However when trying to use the same 'Invoke-RestMethod' method to delete the same Request URL, I receive a message of 'The underlying connection was closed: An unexpected error occurred on a send'.  Can someone from SOTI confirm what the correct syntax should be for a request like this?  

    SOTI MobiControl
    6 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points