MCPcopy
hub / github.com/jumpserver/jumpserver / remove

Method remove

apps/users/api/user.py:171–174  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

169
170 @action(methods=['post'], detail=True)
171 def remove(self, request, *args, **kwargs):
172 instance = self.get_object()
173 instance.remove()
174 return Response(status=204)
175
176 @action(methods=['post'], detail=False, url_path='remove')
177 def bulk_remove(self, request, *args, **kwargs):

Callers 15

sync_nodeFunction · 0.45
user_logged_out_callbackFunction · 0.45
MetaClass · 0.45
bulk_removeMethod · 0.45
resetMethod · 0.45
playbook_on_startMethod · 0.45
deleteMethod · 0.45
offlineMethod · 0.45
remove_files_by_daysFunction · 0.45
inspinia.jsFile · 0.45
LeFunction · 0.45

Calls 1

get_objectMethod · 0.45

Tested by

no test coverage detected