Add or update attributes (data index)
documentedDefine or update attributes that describe data in your workspace.
POST /v1/data_index/attributesData Indexno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://app.customer.io/v1/data_index/attributes" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "attributes": [ { "name": "{{$attribute1_name}}", "description": "{{$description_1}}", "privacy_level": {{$privacy_level_1}} }, { "name": "{{$attribute2_name}}", "description": "{{$description_2}}", "privacy_level": {{$privacy_level_2}} } ] }'