Skip to main content
PATCH
/
api
/
v1
/
tags
/
{id}
Update a tag
curl --request PATCH \
  --url https://app.sure.am/api/v1/tags/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "tag": {
    "name": "<string>",
    "color": "<string>"
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "color": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Path Parameters

id
string
required

Tag ID

Body

application/json
tag
object

Response

tag updated

id
string<uuid>
required
name
string
required
color
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required