---
title: "Field Hide"
method: POST
path: "/api/schema/_streams/{stream},{name},{hidden}"
tags: ["Catalog"]
---

# Field Hide

`POST /api/schema/_streams/{stream},{name},{hidden}`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/schema/_streams/{stream},{name},{hidden}`
- Auth: API key in header `Authorization`

This POST endpoint allows specific fields belong to a stream to be hidden/un-hidden. A hidden field is not
visible from the Application *Data > Streams* Web UI.

**CAVEAT'S**

* This does not delete the data, only hides the field in the UI.

* If queries (LQL) stil map this field into profiles, it will still be added

```
# Hide the 'first-name' field from the 'default' stream
curl -XPUT 'https://api.lytics.io/api/schema/_streams/default' \
    -H 'Content-type: application/json'
    -H 'Authorization: $LIOKEY' \
    -d '{
        "name": "first_name",
        "hidden": true
    }' | jq '.'
```

## Path parameters

- `stream` string, required
- `name` string, required
- `hidden` boolean, required

## Query parameters

- `account_id` string

## Response `204`

No Content

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
