Skip to main content
PUT
/
tags
/
{id}
Update tag
curl --request PUT \
  --url https://api.sprucecollective.co.uk/tags/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "active": true,
  "color": "<string>",
  "description": "<string>",
  "name": "<string>",
  "site_id": "<string>",
  "slug": "<string>"
}
'
{
  "active": true,
  "color": "<string>",
  "created_at": "<string>",
  "description": "<string>",
  "id": "<string>",
  "name": "<string>",
  "site_id": "<string>",
  "slug": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Path Parameters

id
string
required

Tag ID

Body

application/json

Tag update data

active
boolean
color
string
description
string
name
string
site_id
string
slug
string

Response

OK

active
boolean
color
string
created_at
string
description
string
id
string
name
string
site_id
string
slug
string
updated_at
string