public List<User> getblockedUsers(int page, int perPage) throws GitLabApiException {
        GitLabApiForm formData = createGitLabApiForm()
                .withParam("blocked", true)
                .withParam(PAGE_PARAM, page)
                .withParam(PER_PAGE_PARAM, perPage);
        Response response = get(Response.Status.OK, formData.asMap(), "users");
        return (response.readEntity(new GenericType<List<User>>() {}));
    }
public List < User > getblockedUsers ( int page , int perPage ) throws GitLabApiException { GitLabApiForm formData = createGitLabApiForm ( ) . withParam ( "blocked" , true ) . withParam ( PAGE_PARAM , page ) . withParam ( PER_PAGE_PARAM , perPage ) ; Response response = get ( Response . Status . OK , formData . asMap ( ) , "users" ) ; return ( response . readEntity ( new GenericType < List < User > > ( ) { } ) ) ; }
Get a list of blocked users using the specified page and per page settings.

<pre><code>GitLab Endpoint: GET /users?blocked=true</code></pre>

@param page    the page to get
@param perPage the number of users per page
@return the list of blocked Users in the specified range
@throws GitLabApiException if any exception occurs