# Update tag

Rename a segment tag.

Source: https://statusdashboard.com/docs/api/subscriptions/segments/tags-update

`PUT /app/segments/tags/{tagId}`

Renames a tag. Requires the **Segments** plan feature and admin role. Registry assignments and segment references are unchanged — only the tag name updates.

***

## Path parameters
| Parameter | Type | Description   |
| --------- | ---- | ------------- |
| `tagId`   | uuid | Tag to update |

***

## Request
See [API Basics](/docs/api) for required headers.

### Body
| Field  | Type   | Required | Description                                                       |
| ------ | ------ | -------- | ----------------------------------------------------------------- |
| `name` | string | Yes      | New tag name. 1–50 characters. Unique per org (case-insensitive). |

***

## Sample request
```bash
curl -X PUT https://api.statusdashboard.com/app/segments/tags/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer bcf847abf5c6:def456" \
  -H "Content-Type: application/json" \
  -d '{"name": "Leadership"}'
```

## Sample response
**Status: `200 OK`**

```json
{
  "tag": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Leadership",
    "memberCount": 12,
    "createdAt": "2026-06-01T10:00:00.000Z",
    "updatedAt": "2026-06-15T09:30:00.000Z"
  }
}
```

***

## Error responses
| Status | When                                    |
| ------ | --------------------------------------- |
| `400`  | Validation error or duplicate tag name. |
| `403`  | Not admin or feature not enabled.       |
| `404`  | Tag not found.                          |
