Tokens
Update Profiles API token (legacy)
Changed onUpdate a Profiles API token. <br> <br> <br> This endpoint is for Audience Studio legacy. For the latest Audience Studio, contact your Customer Success Representative.
put/audiences/{audienceId}/tokens/{tokenId}
Request
- Base URLhttps://api-cdp.treasuredata.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
audienceIdinteger required
Master Segment ID of the token
tokenIdinteger required
ID of Token to return
Request body
Example request
{
"description": "description",
"keyColumn": "td_client_id",
"segments": [
{
"id": 1234
}
],
"attributeColumns": [
"gender",
"country"
]
}Response
successful operation
Example response
{
"keyColumn": "td_client_id",
"attributeColumns": [
"gender",
"country"
],
"v2": true
}Changes
- info
api operation id
tokens#updateremoved and replaced withtokens_update
- info