forgot the delete

This commit is contained in:
Jay Lee
2020-12-05 20:27:29 -05:00
parent c8e76d5727
commit 64b6cfea93
2 changed files with 10 additions and 0 deletions

View File

@@ -18,6 +18,14 @@ def build():
return gam.buildGAPIObject('cbcm')
def delete():
cbcm = build()
device_id = sys.argv[3]
gapi.call(cbcm.chromebrowsers(), 'delete', deviceId=device_id,
customer=GC_Values[GC_CUSTOMER_ID])
print(f'Deleted browser {device_id}')
def info():
cbcm = build()
device_id = sys.argv[3]