PATCH
Update Tag

Authorizations

X-API-Key
string
header
required

An API key of your account, from Settings > API Keys. It starts with gnz-.

Headers

Idempotency-Key
string | null

Any unique string, such as a UUID. Send the same key again to get the first answer and not a second write. The API keeps an answer for 24 hours.

Path Parameters

tag_id
integer
required

A tag of the brand.

brand_id
integer
required

Body

application/json

Only the fields that the request sends change.

color
string | null
Pattern: ^#[0-9a-fA-F]{6}$
name
string | null
Required string length: 1 - 255

Response

Successful Response

id
integer
required
name
string
required
color
string | null
Example:

"#00b477"