---
title: "Get Users By Role Id"
method: GET
path: "/l-admin-dc/users-by-role"
tags: ["Admin"]
---

# Get Users By Role Id

`GET /l-admin-dc/users-by-role`

## Request

- Base URL: `https://api.longdrivecars.com`
- URL: `https://api.longdrivecars.com/l-admin-dc/users-by-role`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/longdrivecars/apis/fastapi-service/docs/l-admin-dc/users-by-role/get.ts> (a function with typed inputs; its response is checked against the schema)

Get users by role id

## Query parameters

- `role_id` integer, required
- `car_selected_city` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/longdrivecars/apis/fastapi-service.md) - [All operations](https://skmtc.dev/longdrivecars/apis/fastapi-service/llms.txt) - [OpenAPI document](https://skmtc.dev/longdrivecars/apis/fastapi-service/revisions/f8fc09b8832d?raw)
