# Update an ASO keyword tag

Rename or recolour a keyword tag everywhere it is applied.

## Endpoint: PATCH /v1/aso/tags/{tagId}

- Method: `PATCH`
- Path: `/v1/aso/tags/{tagId}`
- Authentication: Bearer API credential or OAuth access token
- Required scope: `content:write`
- MCP tool: `manage_aso`
- MCP action: `update_tag`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `tagId` | path | uuid | yes | Keyword tag id. |
| `name` | body | string | yes | Optional name. |
| `color` | body | #rrggbb | yes | Optional colour. |

## Known errors

- 400 invalid_request for an invalid filter, identity or limit.
- 401 authentication_required for a missing or invalid credential.
- 402 subscription_required when access is not entitled.
- 403 authorization_required for a missing scope or unavailable preview access.
- 403 workspace_not_accessible when x-genviral-tenancy names a workspace the credential cannot reach.
- 404 not_found when the record is outside the accessible catalogue.
- 429 rate_limited; honor Retry-After when present.
- 429 daily_call_limit; the plan's daily API and MCP calls are used until 00:00 UTC.
- 409 conflict when the write would duplicate an exclusive row.

## Request

The name lives in one record, so a rename changes the tag on every keyword that carries it. At least one of name or colour is required.

```
curl --request PATCH 'https://api.peekpanda.com/v1/aso/tags/55555555-5555-4555-8555-555555555555' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal' \
  --header 'content-type: application/json' \
  --data '{"name":"Priority","color":"#2563eb"}'
```

## MCP request

Call manage_aso with action update_tag. Path fields go in params, filters in query, and a write body in body.

```
{
  "name": "manage_aso",
  "arguments": {
    "request": {
      "action": "update_tag",
      "params": {
        "tagId": "<tagId>"
      }
    }
  }
}

```

## Response

The updated tag.

```
{
  "id": "55555555-5555-4555-8555-555555555555",
  "name": "Priority",
  "color": "#2563eb",
  "createdAt": "2026-09-06T00:00:00.000Z",
  "updatedAt": "2026-09-06T00:00:00.000Z"
}

```

## Source

Dated public App Store search results and suggestion observations for the US English storefront. Positions are observed result order. Difficulty and demand are directional indicators, not search volume or advertising data.

## Refresh

This read returns stored observations. Use the related refresh command when newer evidence is needed.
