mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix the path parameter
This commit is contained in:
parent
5a1b4b154e
commit
7aab14c07d
@ -54,6 +54,8 @@ public class UserManagementAdminServiceImpl implements UserManagementAdminServic
|
||||
return CredentialManagementResponseBuilder.buildResetPasswordResponse(user, credentials);
|
||||
}
|
||||
|
||||
@DELETE
|
||||
@Path("/{username}/devices")
|
||||
@Override
|
||||
public Response deleteDeviceOfUser(@PathParam("username") String username) {
|
||||
try {
|
||||
@ -66,6 +68,8 @@ public class UserManagementAdminServiceImpl implements UserManagementAdminServic
|
||||
}
|
||||
}
|
||||
|
||||
@DELETE
|
||||
@Path("/type/{device-type}/id/{device-id}")
|
||||
@Override
|
||||
public Response deleteDevice(@PathParam("device-type") @Size(max = 45) String deviceType,
|
||||
@PathParam("device-id") @Size(max = 45) String deviceId) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user