Zugangslinks können gelöscht werden
DELETE-Endpoint im Backend, API-Client-Methode und Löschen-Button mit Bestätigungsdialog in der Anbieter-Admin-Oberfläche ergänzt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -184,5 +184,17 @@ public class ProviderAdminResource {
|
||||
.build();
|
||||
}
|
||||
|
||||
@DELETE
|
||||
@Path("/access-links/{id}")
|
||||
@Transactional
|
||||
public Response deleteAccessLink(@PathParam("id") Long id) {
|
||||
AccessLink link = AccessLink.findById(id);
|
||||
if (link == null) {
|
||||
return Response.status(Response.Status.NOT_FOUND).build();
|
||||
}
|
||||
link.delete();
|
||||
return Response.noContent().build();
|
||||
}
|
||||
|
||||
public record ProviderReportDto(String month, List<MonthlyReportDto> companies, long grandTotalCents) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user