MCPcopy Create free account
hub / github.com/ShipSecAI/studio / remove

Method remove

backend/src/workflows/workflows.controller.ts:515–518  ·  view source on GitHub ↗
(@CurrentAuth() auth: AuthContext | null, @Param('id') id: string)

Source from the content-addressed store, hash-verified

513 @UseGuards(WorkflowRoleGuard)
514 @RequireWorkflowRole('ADMIN')
515 async remove(@CurrentAuth() auth: AuthContext | null, @Param('id') id: string) {
516 await this.workflowsService.delete(id, auth);
517 return { status: 'deleted', id };
518 }
519
520 @Post(':id/commit')
521 @UseGuards(WorkflowRoleGuard)

Callers 9

AppLayoutFunction · 0.80
ComponentItemFunction · 0.80
configureDOMPurifyFunction · 0.80
stopResizingFunction · 0.80
WorkflowBuilderShellFunction · 0.80
ConfigPanelFunction · 0.80
WorkflowNodeFunction · 0.80
applyThemeFunction · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected