Skip to content

Update a pixel config (ADMIN, alias of PUT)

projectId
required
string
platformId
required
string
Media typeapplication/json

Partial update; at least one field required. Masked credential values (••••••…) are ignored.

object
>= 1 properties
name
string
>= 1 characters
credentials
object
key
additional properties
string
>= 1 characters
eventMapping
object | null
isActive
boolean
Examplegenerated
json
{
"name": "example",
"credentials": {
"additionalProperty": "example"
},
"eventMapping": "example",
"isActive": true
}

{ updated, platform }. Some keys are dynamic — Byte-identical response contract to analyticsUpdatePlatform — literally the same handler function registered for both app.put and app.patch. Credentials masked, no plaintext.

Media typeapplication/json
object
updated
required
integer
Allowed values: 1
platform
required
object
id
required
string
projectId
required
string
platform
required
string
Allowed values: BAIDU DOUYIN TENCENT KUAISHOU XIAOHONGSHU BILIBILI WEIBO GOOGLE META TIKTOK BING TWITTER LINKEDIN SNAPCHAT PINTEREST KWAI GOOGLE_MEASUREMENT BIGO TRAFFICSTARS TRAFFICJUNKY PROPELLERADS DEEPCLICK MGSKY ADJUST XIAOBU OKSPIN SNAPTUBE APPLUCK MACAN
name
required
string
credentials
required

REDACTED. Keys are the stored credential field names (dynamic per platform); each value is “••••••” optionally suffixed with the last 4 characters of the decrypted secret. Never full plaintext.

object
key
additional properties
string
eventMapping
required

Dynamic map of internal event name -> platform event name; may be {}.

object
key
additional properties
string
isActive
required
boolean
lastError
required
string
nullable
createdAt
required

ISO-8601 UTC timestamp.

string
updatedAt
required

ISO-8601 UTC timestamp.

string

Platform not found

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}