Fabric documentation
V1BrandsBrandidAttributesAttributeid

Update an attribute definition

PUT
/v1/brands/{brandId}/attributes/{attributeId}

Replaces the editable fields. The key is not among them — every existing value joins on it, so re-keying would orphan the column.

AuthorizationBearer <token>

Your API key. X-Api-Key: <key> is accepted as an alternative.

A key belongs to an organization, not a user, so it outlives whoever created it. It carries two independent things, and both are checked: an org role (a member key cannot approve a publish or activate a mapping) and a set of scopes — catalog:read, catalog:write, enrichment:write, publishing:read, publishing:write, org:read, org:write. Holding a scope does not grant a role, and holding a role does not grant a scope.

GET /v1/me returns both for the key you are holding.

In: header

Path Parameters

brandId*string

The brand to read.

attributeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/v1/brands/string/attributes/string" \  -H "Content-Type: application/json" \  -d '{    "extract": true,    "kind": "variant",    "name": "string",    "type": "String"  }'
{  "id": "string"}