def METHOD_NAME(request: HttpRequest) -> HttpResponse:
    check_dev_auth_backend()
    users = get_dev_users()
    return json_success(
        request,
        data=dict(
            direct_admins=[
                dict(email=u.delivery_email, realm_uri=u.realm.uri)
                for u in users
                if u.is_realm_admin
            ],
            direct_users=[
                dict(email=u.delivery_email, realm_uri=u.realm.uri)
                for u in users
                if not u.is_realm_admin
            ],
        ),
    )