Skip to main content
PUT
/
labels
/
note
/
{id}
Update note label
curl --request PUT \
  --url https://api.gospott.com/labels/note/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "colorHex": "<string>"
}
'

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Path Parameters

id
string
required

Body

application/json
name
string
Maximum string length: 255
colorHex
string
Pattern: ^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$

Response

204 - undefined