Skip to main content
PATCH
/
admin
/
reviewTags
/
{id}
Update a review tag
curl --request PATCH \
  --url https://api.guile.app/admin/reviewTags/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/merge-patch+json' \
  --data '
{
  "label": "<string>",
  "type": "positive"
}
'
{
  "label": "<string>",
  "type": "positive",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Body

application/merge-patch+json
label
string | null

The display label for the review tag.

Required string length: 1 - 50
type
enum<string>

The type of the review tag indicating sentiment.

Available options:
positive,
negative

Response

Ok. The operation succeeded.

A representation of a review tag.

label
string
required

The display label for the review tag.

Required string length: 1 - 50
type
enum<string>
required

The type of the review tag indicating sentiment.

Available options:
positive,
negative
id
string<uuid>
required

The unique identifier for the review tag.

createdAt
string<date-time>
required

The date-time when this resource was created, in RFC 3339 date-time YYYY-MM-DDThh:mm:ss.sssZ format, UTC. This is derived and immutable.

updatedAt
string<date-time>
required

The date-time when this resource was updated, in RFC 3339 date-time YYYY-MM-DDThh:mm:ss.sssZ format, UTC. This is derived and immutable.