MCPcopy Create free account
hub / github.com/aptabase/aptabase / Delete

Method Delete

src/Features/Apps/AppsController.cs:178–191  ·  view source on GitHub ↗
(string appId)

Source from the content-addressed store, hash-verified

176 }
177
178 [HttpDelete("/api/_apps/{appId}")]
179 public async Task<IActionResult> Delete(string appId)
180 {
181 var app = await GetOwnedApp(appId);
182 if (app == null)
183 return NotFound();
184
185 await _db.Connection.ExecuteScalarAsync<string>("UPDATE apps SET deleted_at = now() WHERE id = @appId", new
186 {
187 appId = app.Id,
188 });
189
190 return Ok(new { });
191 }
192
193 [HttpGet("/api/_apps/{appId}/shares")]
194 public async Task<IActionResult> ListAppShares(string appId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected