Skip to main content
PATCH
/
radius
/
tags
/
{tagId}
Update a Tag
curl --request PATCH \
  --url https://api.altostrat.io/radius/tags/{tagId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "High Priority Support",
  "color": "#DD6B20"
}'
{
  "id": "rad_tag_01HGM5V65A5A5A5A5A5A5A5A5D",
  "name": "VIP Users",
  "color": "#FFD700",
  "user_count": 10,
  "group_count": 3,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Enter your API key in the format: Bearer <token>

Path Parameters

tagId
string
required

The unique identifier for the tag, prefixed with rad_tag_.

Body

application/json
name
string

The new name for the tag.

Example:

"High Priority Support"

color
string

The new hex color code for the tag.

Example:

"#DD6B20"

Response

The updated tag object.

Represents a tag used for organizing resources.

id
string

Unique identifier for the tag.

Example:

"rad_tag_01HGM5V65A5A5A5A5A5A5A5A5D"

name
string

The name of the tag.

Example:

"VIP Users"

color
string

A hex color code for the tag's visual representation.

Example:

"#FFD700"

user_count
integer

Number of users associated with this tag.

Example:

10

group_count
integer

Number of groups associated with this tag.

Example:

3

created_at
string<date-time>
updated_at
string<date-time>