---
title: "Updates a Lead Source"
method: PUT
path: "/LeadSources"
tags: ["LeadSources"]
---

# Updates a Lead Source

`PUT /LeadSources`

## Request

- Base URL: `https://api.insightly.com/v3.1`
- URL: `https://api.insightly.com/v3.1/LeadSources`
- Auth: none declared. Required headers: `Authorization`

This endpoint is used to update an existing lead source.

## Headers

- `Authorization` string, required

## Request body

- APILeadSource
  - `LEAD_SOURCE_ID` integer
  - `LEAD_SOURCE` string, required
  - `DEFAULT_VALUE` boolean
  - `FIELD_ORDER` integer

## Response `200`

Lead Source updated.

- object
  - `LEAD_SOURCE_ID` integer
  - `LEAD_SOURCE` string, required
  - `DEFAULT_VALUE` boolean
  - `FIELD_ORDER` integer

## Other responses

- `400`: Data validation error.
- `401`: Authentication failed.
- `403`: API User does not have permission to edit Lead Sources or Lead Management disabled.
- `404`: Lead Source not found.

---

[API](https://skmtc.dev/insightly/apis/insightly-api-v3-1.md) - [All operations](https://skmtc.dev/insightly/apis/insightly-api-v3-1/llms.txt) - [OpenAPI document](https://skmtc.dev/insightly/apis/insightly-api-v3-1/revisions/e7df0c3b65fb?raw)
