---
title: "Update an existing pixel"
method: PATCH
path: "/measurement/pixels/{id}"
tags: ["Pixels"]
---

# Update an existing pixel

`PATCH /measurement/pixels/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `measurementPixel` object
    - `crmBrandId` string, required — The ID in your CRM of the advertiser to associate with this pixel. (Must previously have been synced via `POST /crm_brand_syncs`.)
    - `name` string, required — The name of the pixel.

## Response `200`

OK

- object
  - `measurementPixel` Pixel
    - `id` string
    - `name` string
    - `brand` object
      - `crmBrandId` string
      - `name` string

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Content

---

[API](https://skmtc.net/magellan/apis/magellan-ai-api.md) · [All operations](https://skmtc.net/magellan/apis/magellan-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/magellan/magellan-ai-api/revisions/a5681791212b/schema)
