Skip to main content
PATCH
/
v0
/
business
/
{business_id}
/
tag-values
/
{tag_value_id}
Update a Tag Value
curl --request PATCH \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/tag-values/{tag_value_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "job-123",
  "metadata": {}
}
'
{
  "data": {
    "id": "<string>",
    "tag_field_id": "<string>",
    "name": "<string>",
    "metadata": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required

The id of the business

Example:

"biz_GA6EG2qFxA97NZHtxeLPUy"

tag_value_id
string<tv_string>
required

The id of the tag value

Example:

"tv_KtY7p9fsM4pB58SYNar7cu"

Body

application/json
name
string | null

The new tag value name

Maximum string length: 255
Example:

"job-123"

metadata
Metadata · object

Updated metadata for the tag value

Response

Successful Response

data
TagValuePublic · object
required