Orgs / Attributes

Update an attribute

patch/v2/organizations/{orgId}/attributes/{attributeId}

Path parameters

orgIdnumber required
attributeIdstring required

Headers

Authorizationstring required

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

Request body

namestring
slugstring
type'TEXT' | 'NUMBER' | 'SINGLE_SELECT' | 'MULTI_SELECT'
enabledboolean

Response

status'success' | 'error' required

Example response

{
  "status": "success",
  "data": {
    "id": "attr_123",
    "teamId": 1,
    "name": "Attribute Name",
    "slug": "attribute-name",
    "enabled": true,
    "usersCanEditRelation": true
  }
}

Changes