Update Profiles API token (legacy)

Update a Profiles API token.


This endpoint is for Audience Studio legacy. For the latest Audience Studio, contact your Customer Success Representative.

SecurityTdApikeyAuth
Request
path Parameters
audienceId
required
integer <int64>

Master Segment ID of the token

tokenId
required
integer <int64>

ID of Token to return

Request Body schema: application/json
description
string

description

token
string <uuid>

UUID of the token

keyColumn
required
string

A key column name to fetch the information of a customer.

Array of objects

associated segments

attributeColumns
required
Array of strings

associated attribute column names. Max the number of attribute columns is 5. You must specify empty array if you don't need attributes.

Responses
200

successful operation

400

Given parameters are not valid

401

Unauthorized; You don't provide valid credentials. Maybe you didn't specify valid TD's Master API Key as 'TD1 {Your TD Master API Key}'.

403

Requested resource or action is not allowed because you don't have sufficient permissions

404

The specified resource was not found

4XX

There is a high possibility of error of the authentication system. Please check the contents and authority of the key. Please contact the TD support team if you do not resolve it.

5XX

System error. Because there is a possibility of a temporary error due to network trouble and so on, we recommend several times retry on request side. Please contact the TD support team if you do not resolve it.

put/audiences/{audienceId}/tokens/{tokenId}
Request samples
application/json
{
  • "description": "description",
  • "token": "b5507016-7da2-4777-a161-1e8042a6a377",
  • "keyColumn": "td_client_id",
  • "segments": [
    ],
  • "attributeColumns": [
    ]
}
Response samples
application/json
{
  • "id": "string",
  • "audienceId": "string",
  • "token": "b5507016-7da2-4777-a161-1e8042a6a377",
  • "description": "string",
  • "keyColumn": "td_client_id",
  • "segments": [
    ],
  • "attributeColumns": [
    ],
  • "v2": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "createdBy": {
    },
  • "updatedBy": {
    }
}