Folders are containers in which you can organize information. Nested folders offer flexible organization controls. Large volumes of data and application assets can be organized into multi-nested folders by categories such as geographical markets, brands, and business functions. Granular permissions can be set for each folder to ensure security.
Create a new parent segment folder.
Security
TdApikeyAuth
- https://api-cdp.treasuredata.comhttps://api-cdp.treasuredata.com/audiences/{audienceId}/folders
- https://api-cdp.treasuredata.co.jphttps://api-cdp.treasuredata.co.jp/audiences/{audienceId}/folders
- https://api-cdp.eu01.treasuredata.comhttps://api-cdp.eu01.treasuredata.com/audiences/{audienceId}/folders
- https://api-cdp.ap02.treasuredata.comhttps://api-cdp.ap02.treasuredata.com/audiences/{audienceId}/folders
- https://api-cdp.ap03.treasuredata.comhttps://api-cdp.ap03.treasuredata.com/audiences/{audienceId}/folders
curl -i -X POST \
'https://api-cdp.treasuredata.com/audiences/{audienceId}/folders' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"description": "string"
}'Returns the segment folder which was created
ID of the parent audience. For composable folders this carries the composable audience id; the complete-vs-composable discriminator lives on the parent audience entity, not on the folder.
Response
{ "id": "string", "audienceId": "string", "name": "string", "description": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "createdBy": { "id": "string", "td_user_id": "string", "name": "string" }, "updatedBy": { "id": "string", "td_user_id": "string", "name": "string" } }