KEYCLOAK-2785: Admin client should be able to delete a user.
The delete user service should be exposed in the admin client.
This commit is contained in:
1 parent
135071b3aa
commit
3c5fcebce9
2 files changed
+18
-7
No files matched your search
+4
-7
@@ -19,13 +19,7 @@ package org.keycloak.admin.client.resource;
|
||||
|
||||
import org.keycloak.representations.idm.UserRepresentation;
|
||||
|
||||
import javax.ws.rs.Consumes;
|
||||
import javax.ws.rs.GET;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.PathParam;
|
||||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.QueryParam;
|
||||
import javax.ws.rs.*;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
import java.util.List;
|
||||
@@ -59,4 +53,7 @@ public interface UsersResource {
|
||||
@Path("{id}")
|
||||
UserResource get(@PathParam("id") String id);
|
||||
|
||||
@Path("{id}")
|
||||
@DELETE
|
||||
Response delete(@PathParam("id") String id);
|
||||
}
|
||||
Reference in new issue
Block a user