PATCH
/
v2
/
organizations
/
{orgId}
/
attributes
/
{attributeId}
curl --request PATCH \
  --url https://api.cal.com/v2/organizations/{orgId}/attributes/{attributeId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "slug": "<string>",
  "type": "TEXT",
  "enabled": true
}'
{
  "status": "success",
  "data": {
    "id": "attr_123",
    "teamId": 1,
    "type": "TEXT",
    "name": "Attribute Name",
    "slug": "attribute-name",
    "enabled": true,
    "usersCanEditRelation": true
  }
}

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_

Path Parameters

orgId
number
required
attributeId
string
required

Body

application/json

Response

200 - application/json

The response is of type object.