Skip to main content
PATCH
Rename Project Data Definition Tag

Permissions

The permissions required to access this endpoint. See Permissions Reference for what each role grants.

Required Permissions: write_data_definitions

Granted By Role: Owner Admin

Authorizations

Authorization
string
header
required

This endpoint uses Service Account authentication.

Headers

Mixpanel-Version
string
default:2026-08-13

Optional date-based API version pin.

If omitted, the request is served by the latest API version, and the caller accepts that a future release may introduce a breaking change to the response contract. If set to a supported version date, that version's contract is honored and will not receive a breaking change.

Path Parameters

tag_id
string
required
project_id
string
required

The unique identifier for the project.

Body

application/json

The fields to write on the tag. A field left out is unchanged.

name
string

The tag's new name. Unique within the project.

Required string length: 1 - 175

Response

OK

id
string
required
name
string
required
entity_count
integer
required

The number of definitions carrying the tag.