Skip to main content
POST
/
v1
/
tags
/
{tag_id}
Update A Tag
curl --request POST \
  --url http://api.stuut.ai/v1/tags/{tag_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "name": "<string>",
  "object": "<string>",
  "id": "<string>",
  "color": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "rule_condition": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

tag_id
string
required

Body

application/json
name
string

The name of the tag.

color
string

The hex color code of the tag, if any.

Maximum string length: 20

Response

Successful response

name
string
required

The name of the tag.

object
string
required
id
string
Maximum string length: 32
color
string

The hex color code of the tag, if any.

Maximum string length: 20
created_at
string<date-time>
modified_at
string<date-time> | null
rule_condition
object