Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Remove instance delete declaration.

天舟b8cc2cd38bf8
diff --git a/backend/api/instance.go b/backend/api/instance.go
index 580d335817..f008d8b690 100644
--- a/backend/api/instance.go
+++ b/backend/api/instance.go
@@ -66,13 +66,6 @@ type InstancePatch struct {
Password *string `jsonapi:"attr,password"`
}
-type InstanceDelete struct {
- // Standard fields
- ID int
- // Value is assigned from the jwt subject field passed by the client.
- DeleterId int
-}
-
type InstanceService interface {
CreateInstance(ctx context.Context, create *InstanceCreate) (*Instance, error)
FindInstanceList(ctx context.Context, find *InstanceFind) ([]*Instance, error)