---
title: "Listing all Actors assigned some Role"
method: GET
path: "/v1/assignments/{roleId}"
tags: ["Assignments"]
---

# Listing all Actors assigned some Role

`GET /v1/assignments/{roleId}`

Given a `roleId`, which may be a numeric ID or a string role `system` name, this endpoint lists all `Actors` that have been assigned that Role on a server-wide basis.

## Path parameters

- `roleId` string, required

## Response `200`

OK

- Actor[]
  - `createdAt` string, required — ISO date format
  - `displayName` string, required — All `Actor`s, regardless of type, have a display name
  - `id` number, required
  - `type` 'user' | 'field_key' | 'public_link' | 'singleUse', required — The type of actor
  - `updatedAt` string — ISO date format
  - `deletedAt` string — ISO date format

## Changes

- **2025-12-20** `022694254f0d` — 1 info
  - api operation id `Listing all Actors assigned some Role` removed and replaced with `listAllActorsAssignedSomeRole`
- **2025-10-27** `b11b54eea487` — 1 info
  - removed the non-success response with the status `403`
- **2025-03-13** `e8c2858fd4eb` — 2 info
  - api operation id `listAllActorsAssignedSomeRole` removed and replaced with `Listing all Actors assigned some Role`
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/getodk/apis/odk-central-api/changes/v1/assignments/:roleId/get.md)

---

[API](https://skmtc.dev/getodk/apis/odk-central-api.md) · [All operations](https://skmtc.dev/getodk/apis/odk-central-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getodk/odk-central-api/revisions/d4f5ba77f644/schema)
