🏷️ Labels

Update a label

put/api/{session}/labels/{labelId}

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/labels/{labelId}
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

labelIdstring required

Request body

namestring required

Label name

colorHexstring

Color in hex

colornumber

Color number, not hex

Example request

{
  "name": "Lead",
  "colorHex": "#ff9485"
}

Response

idstring required

Label ID

namestring required

Label name

colornumber required

Color number, not hex

colorHexstring required

Color in hex

Example response

{
  "id": "1",
  "name": "Lead",
  "colorHex": "#ff9485"
}

Changes

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