diff --git a/src/Api/Controllers/AccountsController.cs b/src/Api/Controllers/AccountsController.cs index 198ac1c0c..5f3dd2184 100644 --- a/src/Api/Controllers/AccountsController.cs +++ b/src/Api/Controllers/AccountsController.cs @@ -310,8 +310,9 @@ namespace Bit.Api.Controllers return new KeysResponseModel(user); } + [HttpDelete] [HttpPost("delete")] - public async Task PostDelete([FromBody]DeleteAccountRequestModel model) + public async Task Delete([FromBody]DeleteAccountRequestModel model) { var user = await _userService.GetUserByPrincipalAsync(User); if(user == null)