Skip to main content
PATCH
/
tags
/
{id}
Update a tag
curl --request PATCH \
  --url https://api.supaqr.com/tags/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "color": "red"
}'
{
  "id": "<string>",
  "name": "<string>",
  "color": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string

The name of the tag.

Required string length: 1 - 50
color
enum<string>

The color of the tag.

Available options:
red,
blue,
green,
orange,
purple,
pink,
cyan,
grayyellow

Response

id
string
required
name
string
required
color
string
required
I