diff --git a/src/Api/KeyManagement/Controllers/AccountsKeyManagementController.cs b/src/Api/KeyManagement/Controllers/AccountsKeyManagementController.cs index 6ac0bb6448..7b0c98243d 100644 --- a/src/Api/KeyManagement/Controllers/AccountsKeyManagementController.cs +++ b/src/Api/KeyManagement/Controllers/AccountsKeyManagementController.cs @@ -57,7 +57,8 @@ public class AccountsKeyManagementController : Controller emergencyAccessValidator, IRotationValidator, IReadOnlyList> organizationUserValidator, - IRotationValidator, IEnumerable> webAuthnKeyValidator) + IRotationValidator, IEnumerable> + webAuthnKeyValidator) { _userService = userService; _featureService = featureService; @@ -129,8 +130,6 @@ public class AccountsKeyManagementController : Controller throw new BadRequestException(ModelState); } - [HttpPost("key-management/set-key-connector-key")] - // Backwards compatibility, to be deleted in the future [HttpPost("set-key-connector-key")] public async Task PostSetKeyConnectorKeyAsync([FromBody] SetKeyConnectorKeyRequestModel model) { @@ -154,8 +153,6 @@ public class AccountsKeyManagementController : Controller throw new BadRequestException(ModelState); } - [HttpPost("key-management/convert-to-key-connector")] - // Backwards compatibility, to be deleted in the future [HttpPost("convert-to-key-connector")] public async Task PostConvertToKeyConnectorAsync() { diff --git a/test/Api.IntegrationTest/KeyManagement/Controllers/AccountsKeyManagementControllerTests.cs b/test/Api.IntegrationTest/KeyManagement/Controllers/AccountsKeyManagementControllerTests.cs index 054507976d..7acf475dde 100644 --- a/test/Api.IntegrationTest/KeyManagement/Controllers/AccountsKeyManagementControllerTests.cs +++ b/test/Api.IntegrationTest/KeyManagement/Controllers/AccountsKeyManagementControllerTests.cs @@ -175,7 +175,8 @@ public class AccountsKeyManagementControllerTests : IClassFixture