LeadLabels

Update a lead label

Changed on

Updates one or more properties of a lead label. Only properties included in the request will be updated.

patch/leadLabels/{id}

Request

  • Base URL
    https://api.pipedrive.com/v1
  • Auth
    • API key in header x-api-token
    • or OAuth 2
      Authorization code: https://oauth.pipedrive.com/oauth/authorize
      Token URL: https://oauth.pipedrive.com/oauth/token scopes: leads:full

Path parameters

idstring uuid required

The ID of the lead label

Request body

namestring

The name of the lead label

color'blue' | 'brown' | 'dark-gray' | 'gray' | 'green' | 'orange' | 'pink' | 'purple' | 'red' | 'yellow'

The color of the label. Only a subset of colors can be used.

Response

Successful response containing payload in the data field

successboolean

Changes

    • warning

      added the new brown enum value to the / response property for the response status

    • warning

      added the new dark-gray enum value to the / response property for the response status

    • warning

      added the new orange enum value to the / response property for the response status

    • warning

      added the new pink enum value to the / response property for the response status

    • info

      added the new brown enum value to the request property

    • info

      added the new dark-gray enum value to the request property

    • info

      added the new orange enum value to the request property

    • info

      added the new pink enum value to the request property

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status