---
title: "Hide evergreen resource from cohort"
method: POST
path: "/cohorts/{cohortId}/resources/{resourceId}/hide"
tags: ["Resources"]
---

# Hide evergreen resource from cohort

`POST /cohorts/{cohortId}/resources/{resourceId}/hide`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/resources/{resourceId}/hide`
- Auth: HTTP bearer

Hide an evergreen resource so it doesn't appear in this cohort's resource list

## Path parameters

- `cohortId` string, uuid, required
- `resourceId` string, uuid, required

## Response `200`

Resource hidden successfully

- object
  - `success` boolean
  - `data` object
    - `hidden` boolean
  - `message` string

## Other responses

- `401`: Unauthorized
- `404`: Resource not found or not an evergreen resource

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
