---
title: "Update an attribute"
method: PATCH
path: "/v2/organizations/{orgId}/attributes/{attributeId}"
tags: ["Orgs / Attributes"]
---

# Update an attribute

`PATCH /v2/organizations/{orgId}/attributes/{attributeId}`

## Path parameters

- `orgId` number, required
- `attributeId` string, required

## Headers

- `Authorization` string, required

## Request body

- UpdateOrganizationAttributeInput
  - `name` string
  - `slug` string
  - `type` 'TEXT' | 'NUMBER' | 'SINGLE_SELECT' | 'MULTI_SELECT'
  - `enabled` boolean

## Response `200`

- UpdateOrganizationAttributesOutput
  - `status` 'success' | 'error', required
  - `data` Attribute, required
    - `id` string, required — The ID of the attribute
    - `teamId` number, required — The team ID associated with the attribute
    - `type` 'TEXT' | 'NUMBER' | 'SINGLE_SELECT' | 'MULTI_SELECT', required — The type of the attribute
    - `name` string, required — The name of the attribute
    - `slug` string, required — The slug of the attribute
    - `enabled` boolean, required — Whether the attribute is enabled and displayed on their profile
    - `usersCanEditRelation` boolean — Whether users can edit the relation

## Changes

- **2025-09-26** (v2) `daa3e48bc03a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/calcom/apis/cal-diy-api-v2/changes/v2/organizations/:orgId/attributes/:attributeId/patch.md)

---

[API](https://skmtc.dev/calcom/apis/cal-diy-api-v2.md) · [All operations](https://skmtc.dev/calcom/apis/cal-diy-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/calcom/cal-diy-api-v2/revisions/75e2f2eeed90/schema)
