Skip to main content
PUT
/
tags
/
{tagId}
/
values
/
{correlationId}
Update a tag on a resource
curl --request PUT \
  --url https://api.altostrat.io/tags/{tagId}/values/{correlationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "correlation_type": "site",
  "value": "Decommissioned"
}'
{
  "tag_id": "tag_01E8Z4Q6J7B6A5P4E3D2C1B0A9",
  "correlation_id": "site_9b52d930f4324c0abac04c12dff85544",
  "correlation_type": "site",
  "value": "APAC",
  "created_at": "2025-10-29T13:00:00Z",
  "updated_at": "2025-10-29T13:00:00Z"
}

Authorizations

Authorization
string
header
required

A bearer token is required for all API requests.

Path Parameters

tagId
string
required

The unique identifier for the tag definition.

correlationId
string
required

The unique identifier of the resource being tagged or referenced.

Body

application/json

The updated details for the tag value.

correlation_type
enum<string>
required

The type of resource being correlated.

Available options:
site,
user,
wan,
account
Example:

"site"

value
string
required

The new value for the tag on this resource.

Example:

"Decommissioned"

Response

The tag value was updated successfully.

tag_id
string

The ID of the parent tag definition.

Example:

"tag_01E8Z4Q6J7B6A5P4E3D2C1B0A9"

correlation_id
string

The ID of the resource this tag value is applied to.

Example:

"site_9b52d930f4324c0abac04c12dff85544"

correlation_type
enum<string>

The type of resource being correlated.

Available options:
site,
user,
wan,
account
Example:

"site"

value
string

The specific value of the tag for this resource (e.g., "APAC", "High").

Example:

"APAC"

created_at
string<date-time>

The timestamp when the tag value was created.

Example:

"2025-10-29T13:00:00Z"

updated_at
string<date-time>

The timestamp when the tag value was last updated.

Example:

"2025-10-29T13:00:00Z"