MCPcopy Index your code
hub / github.com/dataease/SQLBot / delete

Function delete

backend/apps/system/api/user.py:262–263  ·  view source on GitHub ↗
(session: SessionDep, id: int = Path(description=f"{PLACEHOLDER_PREFIX}uid"))

Source from the content-addressed store, hash-verified

260 resource_id_expr="id"
261))
262async def delete(session: SessionDep, id: int = Path(description=f"{PLACEHOLDER_PREFIX}uid")):
263 await single_delete(session, id)
264
265@router.delete("", summary=f"{PLACEHOLDER_PREFIX}user_batchdel_api", description=f"{PLACEHOLDER_PREFIX}user_batchdel_api")
266@require_permissions(permission=SqlbotPermission(role=['admin']))

Callers 2

Calls 1

single_deleteFunction · 0.90

Tested by

no test coverage detected