post https://api.lytics.io/api/schema/_streams/,,
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 '.'