mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix Device dis-enrollment issue in APPM
This commit is contained in:
commit
c833132ded
@ -919,10 +919,11 @@ public interface DeviceManagementService {
|
||||
//device remove request would looks like follows
|
||||
//DELETE devices/type/virtual_firealarm/id/us06ww93auzp
|
||||
@DELETE
|
||||
@Consumes(MediaType.WILDCARD)
|
||||
@Path("/type/{device-type}/id/{device-id}")
|
||||
@ApiOperation(
|
||||
produces = MediaType.APPLICATION_JSON,
|
||||
consumes = MediaType.APPLICATION_JSON,
|
||||
consumes = MediaType.WILDCARD,
|
||||
httpMethod = "DELETE",
|
||||
value = "Remove the Device Specified by the Device ID",
|
||||
notes = "Returns the status of the deleted device operation and the details of the deleted device.",
|
||||
|
||||
@ -333,6 +333,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
||||
}
|
||||
|
||||
@DELETE
|
||||
@Consumes(MediaType.WILDCARD)
|
||||
@Override
|
||||
@Path("/type/{device-type}/id/{device-id}")
|
||||
public Response deleteDevice(@PathParam("device-type") String deviceType,
|
||||
|
||||
@ -256,6 +256,7 @@
|
||||
<Scope>perm:geo-service:analytics-view</Scope>
|
||||
<Scope>perm:geo-service:alerts-manage</Scope>
|
||||
<Scope>appm:rea</Scope>
|
||||
<Scope>perm:devices:permanent-delete</Scope>
|
||||
</Scopes>
|
||||
<SSOConfiguration>
|
||||
<Issuer>app-mgt</Issuer>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user