From 0aa9c4e55a796a4b240253a18dd9d78d957cc282 Mon Sep 17 00:00:00 2001 From: aviadl Date: Sun, 9 Jun 2024 21:39:24 +0300 Subject: [PATCH] Add comment on sdk level --- descope/sdk/mgmt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/descope/sdk/mgmt.go b/descope/sdk/mgmt.go index bab3534f..337f9208 100644 --- a/descope/sdk/mgmt.go +++ b/descope/sdk/mgmt.go @@ -33,6 +33,7 @@ type Tenant interface { Update(ctx context.Context, id string, tenantRequest *descope.TenantRequest) error // Delete an existing tenant. + // Pass true on `cascade` in case you want to delete all users/keys associated only with this tenant // // IMPORTANT: This action is irreversible. Use carefully. Delete(ctx context.Context, id string, cascade bool) error