log getbootmedium calls
[plcapi.git] / PLC / Methods / SliceUserDel.py
index e350a5f..2802001 100644 (file)
@@ -1,3 +1,4 @@
+# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -16,6 +17,8 @@ class SliceUserDel(Method):
     Returns 1 if successful, faults otherwise.
     """
 
+    status = "deprecated"
+
     roles = ['admin', 'pi']
 
     accepts = [
@@ -26,8 +29,6 @@ class SliceUserDel(Method):
 
     returns = Parameter(int, '1 if successful')
 
-    object_type = 'Slice'
-
     def call(self, auth, slice_name, user_list):
        for user in user_list:
            DeletePersonFromSlice.call(self, auth, user, slice_name)