---
title: "Update an opportunity lead source"
method: PATCH
path: "/opportunity-lead-sources/{id}"
tags: ["Opportunity Lead Sources"]
---

# Update an opportunity lead source

`PATCH /opportunity-lead-sources/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/opportunity-lead-sources/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string: The name of the opportunity lead source. Max 255 characters.
  - `isActive` boolean: Whether the opportunity lead source is active.

## Response `200`

200

- OpportunityLeadSource
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the opportunity lead source.
  - `isActive` boolean: Whether the opportunity lead source is active.
  - `createdAt` string, date-time: The timestamp when the object was created.

## Other responses

- `400`: 400
- `403`: 403
- `404`: 404
- `409`: 409

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
