Skip to main content
PATCH
/
api
/
tags
/
{id}
Update a tag
curl --request PATCH \
  --url https://api.mentionlab.io/api/tags/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "name": "feature",
  "color": "#3B82F6"
}
'

Headers

x-organisation-id
string
required

Organisation ID to specify the organisation context

x-project-id
string
required

Project ID to specify the project context

Path Parameters

id
number
required

Body

application/json
name
string

Name of the tag

Example:

"feature"

color
string

Color of the tag in hex format

Example:

"#3B82F6"

Response

204 - undefined