Skip to main content
PATCH
/
v1
/
data
/
pixels
/
{id}
Update a pixel (pause, activate, or set excluded paths)
curl --request PATCH \
  --url https://api.aws53.cloud/v1/data/pixels/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status": "paused",
  "excludedPaths": [
    "/blog",
    "/careers"
  ]
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "domain": "<string>",
    "name": "<string>",
    "status": "<string>",
    "excludedPaths": [
      "<string>"
    ],
    "updatedAt": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Organization API key (sk_...). Get yours from Settings > API Keys in the dashboard.

Path Parameters

id
string<uuid>
required

Body

application/json
status
enum<string>
Available options:
active,
paused
Example:

"paused"

excludedPaths
string[] | null
Maximum array length: 50
Required string length: 2 - 500
Pattern: ^\/
Example:
["/blog", "/careers"]

Response

Pixel updated

data
object
required