---
title: "Get users and groups the media is shared with directly"
method: GET
path: "/media/{media_id}/permissions"
tags: ["Media"]
---

# Get users and groups the media is shared with directly

`GET /media/{media_id}/permissions`

## Path parameters

- `media_id` integer, required

## Response `200`

List of users and groups extended with permission type.

- object
  - `users` UserWithPermission[]
    - `id` integer
    - `full_name` string
    - `display_name` string
    - `email` string
    - `permission` string
  - `groups` GroupWithPermission[]
    - `id` integer
    - `name` string
    - `permission` string

## Other responses

- `401` — Authorization information is missing or invalid.
- `403` — If a user without proper permissions tries to call this endpoint, the call is rejected with 403 Forbidden.
- `404` — The media was not found by ID.
- `422` — Invalid media_id is provided.

---

[API](https://skmtc.net/instructure/apis/studio-public-api.md) · [All operations](https://skmtc.net/instructure/apis/studio-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instructure/studio-public-api/revisions/4838a5113869/schema)
