Competitor Tracker & Co. Docs

Rename and/or recolor a label belonging to the current organization.

Rename and/or recolor a label belonging to the current organization — Competitor Tracker & Co. API reference for PATCH /v1/labels/{id}: request parameters.

Required role: member or higher (organization-level).

Required scope: labels:write (for both OAuth2 tokens and API keys).

PATCH
/v1/labels/{id}

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.competitortracker.io/v1/labels/01J0000000000000000000A001" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "string",
  "color": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
{
  "code": "string",
  "message": "string",
  "resolution": "string"
}
{
  "code": "string",
  "message": "string",
  "resolution": "string"
}
{
  "code": "string",
  "message": "string",
  "resolution": "string"
}