From 2307c8c19c1bd08dd1f0ae01502133e4c3c3c507 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 16 Jul 2018 17:32:08 -0400 Subject: [PATCH] add back missing verbs for backwards compat --- src/Api/Controllers/OrganizationUsersController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Api/Controllers/OrganizationUsersController.cs b/src/Api/Controllers/OrganizationUsersController.cs index 47f5cfb464..d7b240d30c 100644 --- a/src/Api/Controllers/OrganizationUsersController.cs +++ b/src/Api/Controllers/OrganizationUsersController.cs @@ -135,6 +135,7 @@ namespace Bit.Api.Controllers } [HttpPut("{id}")] + [HttpPost("{id}")] public async Task Put(string orgId, string id, [FromBody]OrganizationUserUpdateRequestModel model) { var orgGuidId = new Guid(orgId); @@ -155,6 +156,7 @@ namespace Bit.Api.Controllers } [HttpPut("{id}/groups")] + [HttpPost("{id}/groups")] public async Task PutGroups(string orgId, string id, [FromBody]OrganizationUserUpdateGroupsRequestModel model) { var orgGuidId = new Guid(orgId); @@ -178,6 +180,7 @@ namespace Bit.Api.Controllers } [HttpDelete("{id}")] + [HttpPost("{id}/delete")] public async Task Delete(string orgId, string id) { var orgGuidId = new Guid(orgId);