MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / updateWorkspace

Function updateWorkspace

frontend/src/lib/api/workspaceService.ts:27–35  ·  view source on GitHub ↗
(
    id: string,
    data: UpdateWorkspaceData
  )

Source from the content-addressed store, hash-verified

25
26 // Update workspace details
27 async updateWorkspace(
28 id: string,
29 data: UpdateWorkspaceData
30 ): Promise<Workspace> {
31 return await apiClient.patch<Workspace>(
32 `/workspaces/${id}`,
33 data
34 );
35 },
36
37 // Switch to a different workspace
38 async switchWorkspace(id: string): Promise<void> {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected