> ## Documentation Index
> Fetch the complete documentation index at: https://developer.cybreeze.io/llms.txt
> Use this file to discover all available pages before exploring further.

# PATCH /v1/vendors/{id}

> Change one or more fields on a vendor, leaving the rest untouched.

`PATCH /v1/vendors/{id}` changes only the fields you name and answers with the full [vendor object](https://developer.cybreeze.io/api-reference/vendors/object.md).

Fields you leave out keep their current values. There is no way to clear a field to `null` through this endpoint.

## Path parameters

**id** `string` *required*

The vendor's 24-character identifier.

## Body

Name at least one of the fields below. An empty body is a `400`, so a client that builds a patch from a diff should skip the request when the diff is empty rather than send `{}`.

**name** `string`

The vendor's new name. It must still be unique within your organization, compared case-insensitively.

**type** `string`

What the vendor supplies.

**classificationType** `string`

One of `critical`, `important` or `standard`.

**criticality** `string`

One of `high`, `medium` or `low`.

**status** `string`

Where the vendor is in its lifecycle. Omitting it leaves the current status alone.

**description** `string`

A free-text description.

**website** `string`

The vendor's website. Must be a valid URL.

**servicesProvided** `string`

A free-text summary of what the vendor does for you.

**dataProcessed** `string[]`

The kinds of data the vendor handles. The array replaces the stored one rather than adding to it.

**contactPageUrl** `string`

A URL for the vendor's contact page.

## Errors

| Status | Body | Meaning |
| - | - | - |
| `400` | `"type": "bad-request"` | The body is empty, or a value is not one of the accepted ones |
| `400` | `"type": "bad-request"` | The new name is already taken by another vendor in your organization |
| `401` | `"error": "invalid_api_key"` | The key is missing, unknown or revoked, or was minted under about 45 seconds ago |
| `403` | `"type": "forbidden"` | Your organization does not have the vendors module enabled |
| `404` | `"type": "not-found"` | No such vendor in your organization |

```bash curl theme={null}
curl -sS -X PATCH https://public-api.cybreeze.io/v1/vendors/68f1c0a5f4b2d31a9c7e0b44 \
  -H "x-api-key: $CYBREEZE_API_KEY" \
  -H "content-type: application/json" \
  -d '{ "status": "active", "criticality": "medium" }'
```

```javascript Node.js theme={null}
const response = await fetch(
  'https://public-api.cybreeze.io/v1/vendors/68f1c0a5f4b2d31a9c7e0b44',
  {
    method: 'PATCH',
    headers: {
      'x-api-key': process.env.CYBREEZE_API_KEY,
      'content-type': 'application/json',
    },
    body: JSON.stringify({ status: 'active', criticality: 'medium' }),
  },
);

const vendor = await response.json();
```

```python Python theme={null}
import os

import requests

response = requests.patch(
    "https://public-api.cybreeze.io/v1/vendors/68f1c0a5f4b2d31a9c7e0b44",
    headers={"x-api-key": os.environ["CYBREEZE_API_KEY"]},
    json={"status": "active", "criticality": "medium"},
    timeout=30,
)

vendor = response.json()
```

```json 200 theme={null}
{
  "id": "68f1c0a5f4b2d31a9c7e0b44",
  "name": "CrowdStrike",
  "type": "software provider",
  "status": "active",
  "classificationType": "critical",
  "criticality": "medium",
  "description": "Endpoint detection and response.",
  "website": "https://www.crowdstrike.com",
  "servicesProvided": "EDR and threat intelligence",
  "dataProcessed": ["operational-telemetry-data"],
  "source": "manual",
  "inherentRiskLevel": "high",
  "residualRiskLevel": "medium",
  "residualRiskScore": 42,
  "lastAssessmentDate": "2026-03-04T00:00:00.000Z",
  "nextAssessmentDate": "2027-03-04T00:00:00.000Z",
  "createdAt": "2026-01-02T03:04:05.000Z",
  "updatedAt": "2026-02-03T04:05:06.000Z"
}
```

```json 400 theme={null}
{
  "message": "A vendor with this name already exists in your organization.",
  "type": "bad-request"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.