Labels

Update a label

patch/v1/labels/{id}

Request

  • Base URL: https://api.feelingsurf.fr
  • URL: https://api.feelingsurf.fr/v1/labels/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Resource identifier.

Request body

namestring

Label name.

color'#6610f2' | '#6f42c1' | '#d63384' | '#dc3545' | '#fd7e14' | '#ffc107' | '#198754' | '#20c997' | '#0dcaf0' | '#6c757d' | '#343a40'

Label color.

descriptionstring nullable

Optional notes.

Response

The updated label.

idinteger

Unique identifier.

namestring

Label name.

color'#6610f2' | '#6f42c1' | '#d63384' | '#dc3545' | '#fd7e14' | '#ffc107' | '#198754' | '#20c997' | '#0dcaf0' | '#6c757d' | '#343a40'

Label color.

descriptionstring nullable

Optional notes.

Example response

{
  "id": 1744,
  "name": "Campaign A",
  "color": "#0dcaf0",
  "description": "Q1 landing pages"
}

Changes

No recorded changes to this operation across all 1 revision of this API.