---
title: "Opt a content in/out of cross-corpus search"
method: PATCH
path: "/v2/media/discoverability"
tags: ["v2 - Media"]
---

# Opt a content in/out of cross-corpus search

`PATCH /v2/media/discoverability`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/media/discoverability`
- Auth: HTTP bearer

Set whether a content you own is discoverable in the (free) cross-corpus
metadata search. Default is ON (opt-out — see
backfill_discoverable_default.py); this endpoint is how an owner opts a
piece out, or back in. Owner only.

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Request body

- SetDiscoverabilityRequest
  - `content_id` string, required
  - `discoverable` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
