fix AttributeError
diff --git a/plstackapi/planetstack/api/keys.py b/plstackapi/planetstack/api/keys.py
index 23cd878..b42eed5 100644
--- a/plstackapi/planetstack/api/keys.py
+++ b/plstackapi/planetstack/api/keys.py
@@ -32,7 +32,7 @@
     driver = OpenStackDriver(client = auth_check(auth))   
     keys = Key.objects.filter(**filter)
     for key in keys:
-        driver.delete_key(name=key.name) 
+        driver.delete_keypair(name=key.name) 
         key.delete()
     return 1