Change permanent delete HTTP method

This commit is contained in:
Dharmakeerthi Lasantha 2019-10-09 01:54:11 +00:00
commit d98564c39b
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ public interface DeviceManagementAdminService {
required = true) required = true)
List<String> deviceIdentifiers); List<String> deviceIdentifiers);
@DELETE @PUT
@Path("/permanent-delete") @Path("/permanent-delete")
@ApiOperation( @ApiOperation(
produces = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON,

View File

@ -136,7 +136,7 @@ public class DeviceManagementAdminServiceImpl implements DeviceManagementAdminSe
} }
} }
@DELETE @PUT
@Override @Override
@Path("/permanent-delete") @Path("/permanent-delete")
public Response deleteDevicesPermanently(List<String> deviceIdentifiers) { public Response deleteDevicesPermanently(List<String> deviceIdentifiers) {