Delete several accounts from a secret vault
POST/api/v1/SecretVault/:vaultId/User/DeleteMultiple
Deletes the listed accounts from a secret vault and returns how many were deleted.
Permission required: Admin role, and the signed-in user must have completed multi-factor authentication.
Caution: The accounts are deleted immediately and the call cannot be undone, even when it returns an error for some of them. The call does not check that each ID belongs to the vault in the path, so send only IDs of accounts in this vault.
Request
Responses
- 200
- 400
- 404
All accounts were deleted. The body is the number deleted.
Not all of the accounts could be deleted. Accounts that were deleted stay deleted.
No vault with that ID exists.