Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save underscorephil/6995503 to your computer and use it in GitHub Desktop.
Save underscorephil/6995503 to your computer and use it in GitHub Desktop.
namespace SLAPI_TEST
{
class Program
{
static void Main(string[] args)
{
String username = "";
String apiKey = "";
authenticate authenticate = new authenticate();
authenticate.username = username;
authenticate.apiKey = apiKey;
SoftLayer_Virtual_GuestService guestService = new SoftLayer_Virtual_GuestService();
guestService.authenticateValue = authenticate;
SoftLayer_Virtual_GuestInitParameters initParam = new SoftLayer_Virtual_GuestInitParameters();
initParam.id = 132354;
guestService.SoftLayer_Virtual_GuestInitParametersValue = initParam;
bool result = guestService.deleteObject();
Console.WriteLine(result);
Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment