Skip to content

Instantly share code, notes, and snippets.

@itirohidaka
Forked from emyl/softlayer_destroy.rb
Last active September 16, 2015 03:07
Show Gist options
  • Select an option

  • Save itirohidaka/f22e8dee2fbe61a3be8b to your computer and use it in GitHub Desktop.

Select an option

Save itirohidaka/f22e8dee2fbe61a3be8b to your computer and use it in GitHub Desktop.
SoftLayer CCI destroy test
require "softlayer_api"
id = 2841947
sl = SoftLayer::Service.new('SoftLayer_Virtual_Guest',
:api_key => "<my_api_key>",
:username => "<my_username>"
)
sl.object_with_id(id).deleteObject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment