---
title: "Update a lead-competitor relationship"
method: PATCH
path: "/competitormaps/{id}"
tags: ["Competitors", "Leads"]
---

# Update a lead-competitor relationship

`PATCH /competitormaps/{id}`

## Path parameters

- `id` string, required

## Request body

- object[]
  - `op` 'add' | 'remove' | 'replace' | 'move' | 'copy' — The operation to perform
  - `path` string — The path to the attribute to patch. Can be used to update custom fields as well, such as using /leads/0/{customFieldName}
  - `value` string — The value to set, can be various types, please refer to our guide on JSON Patch for more information

## Response `204`

No Content

---

[API](https://skmtc.dev/nutshell/apis/nutshell-api.md) · [All operations](https://skmtc.dev/nutshell/apis/nutshell-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nutshell/nutshell-api/revisions/14f59cf6a09a/schema)
