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).
In: header
Path Parameters
1 <= lengthRequest 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"
}Get a single label by id (scoped to the current organization). GET
Get a single label by id (scoped to the current organization) — Competitor Tracker & Co. API reference for GET /v1/labels/{id}: request parameters, request.
Delete a label and detach it from every competitor it is assigned to. DELETE
Delete a label and detach it from every competitor it is assigned to — Competitor Tracker & Co. API reference for DELETE /v1/labels/{id}: request parameters.