PATCH
/
tags
/
{id}
Update a tag
curl --request PATCH \
  --url https://api.syntage.com/tags/{id} \
  --header 'Content-Type: application/merge-patch+json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "To be reviewed"
}'
{
  "@id": "/tags/91106968-1abd-4d64-85c1-4e73d96fb997",
  "@type": "Tag",
  "id": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
  "name": "To be reviewed",
  "createdAt": "2020-01-01T12:15:00.000Z",
  "updatedAt": "2020-01-01T12:15:00.000Z"
}

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

id
string<uuid>
required

Body

application/merge-patch+json
name
string

The tag name

Example:

"To be reviewed"

Response

Tag resource response

@id
string<iri-reference>

Resource tag IRI reference

Example:

"/tags/91106968-1abd-4d64-85c1-4e73d96fb997"

@type
string
default:Tag
id
string<uuid>
Example:

"e0a24894-7fbf-48ae-bfb0-efaae30a6319"

name
string
Example:

"To be reviewed"

createdAt
string

Date and time the resource was created

Example:

"2020-01-01T12:15:00.000Z"

updatedAt
string

Date and time the resource was last updated

Example:

"2020-01-01T12:15:00.000Z"