Skip to content

Instantly share code, notes, and snippets.

@underscorephil
Created October 22, 2013 20:57
Show Gist options
  • Save underscorephil/7108022 to your computer and use it in GitHub Desktop.
Save underscorephil/7108022 to your computer and use it in GitHub Desktop.
import SoftLayer.API
from pprint import pprint as pp
apiUsername = ''
apiKey = ''
client = SoftLayer.Client(
username=apiUsername,
api_key=apiKey,
)
guest_id = 1234134
result = client['Virtual_Guest'].shutdownPublicPort(id=guest_id)
pp(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment