Schema

Update an attribute definition

Changed on

Updates properties of an existing attribute definition

patch/v1/objects/{slug}/attributes/{attr_id}

Request

  • Base URL
    https://app.nex.ai/api/developers
  • Auth
    API key in header Authorization

Path parameters

slugstring required

Object slug

attr_idstring required

Attribute definition ID

Request body

namestring

New display name

descriptionstring

New description

Example request

{
  "name": "Updated Status",
  "options": {
    "is_required": false,
    "select_options": [
      {
        "id": "existing-id",
        "name": "Renamed"
      },
      {
        "name": "New Option"
      }
    ]
  }
}

Response

Updated attribute definition

descriptionstring
idstring
namestring
slugstring
typestring

Changes