mirror of
https://github.com/bitwarden/server.git
synced 2025-07-17 23:50:58 -05:00
[SM-789] Extract authorization from service account delete command (#2999)
* Extract authorization from SA delete command * swap to IEnumerable --------- Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
This commit is contained in:
@ -4,6 +4,6 @@ namespace Bit.Core.SecretsManager.Commands.ServiceAccounts.Interfaces;
|
||||
|
||||
public interface IDeleteServiceAccountsCommand
|
||||
{
|
||||
Task<List<Tuple<ServiceAccount, string>>> DeleteServiceAccounts(List<Guid> ids, Guid userId);
|
||||
Task DeleteServiceAccounts(IEnumerable<ServiceAccount> serviceAccounts);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user